SizeAspectRatio class
Constructors
- SizeAspectRatio({required int width, required int height})
- SizeAspectRatio.resize(int width, int height, int maxWidth, int maxHeight)
-
factory
Properties
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