Scale class

Inheritance

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 Resize
inherited
height(dynamic height) Resize
Sets the height Receives dynamic returns this object Resize
inherited
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 Resize
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited