PhotoViewComputedScale class Null safety
A class that work as a enum. It overloads the operator *
saving the double as a multiplier.
PhotoViewComputedScale.contained * 2
Properties
- hashCode → int
-
The hash code for this object.
read-onlyoverride
- multiplier → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator *(
double multiplier) → PhotoViewComputedScale -
operator /(
double divider) → PhotoViewComputedScale -
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- contained → const PhotoViewComputedScale
-
const PhotoViewComputedScale._internal('contained')
- covered → const PhotoViewComputedScale
-
const PhotoViewComputedScale._internal('covered')