SizeAspectRatio class

Constructors

SizeAspectRatio({required int width, required int height})
SizeAspectRatio.resize(int width, int height, int maxWidth, int maxHeight)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resize(int maxWidth, int maxHeight) SizeAspectRatio
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](dynamic key) int?
operator []=(dynamic key, dynamic value) → void