AdaScaleType enum
Options for scaling the bounds of the content to the bounds of the parent.
Values
- fill → const AdaScaleType
-
Scale in X and Y independently, so that src matches dst exactly. This may change the aspect ratio of the src.
- center → const AdaScaleType
-
Center the content in the parent, but perform no scaling.
- centerCrop → const AdaScaleType
-
Scale the content uniformly (maintain aspect ratio) so that both dimensions (width and height) of the content will be equal to or larger than the corresponding dimension of the parent.
- centerInside → const AdaScaleType
-
Scale the content uniformly (maintain aspect ratio) so that both dimensions (width and height) of the content will be equal to or less than the corresponding dimension of the parent.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
AdaScaleType> - A constant List of the values in this enum, in order of their declaration.