Scale class
Constructors
- Scale({Dimensions? dimensions, bool? relative, bool? regionRelative, bool? liquidRescalingValue = false})
Properties
- actionType ↔ String
-
getter/setter pairoverride
- dimensions ↔ Dimensions
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- regionRelative ↔ bool?
-
getter/setter pairinherited
- relative ↔ bool?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
aspectRatio(
dynamic aspectRatio) → Resize -
Sets the aspect ratio
Receives
dynamic
returns this object Resizeinherited -
height(
dynamic height) → Resize -
Sets the height
Receives
dynamic
returns this object Resizeinherited -
liquidRescaling(
[bool? liquidRescaling]) → Scale - Changes the aspect ratio of an image while retaining all important content and avoiding unnatural distortions.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
params(
) → List< Param?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
width(
dynamic width) → Resize -
Sets the width
Receives
dynamic
returns this object Resizeinherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited