SizeAspectRatio class
GeneralLibrary
Constructors
- SizeAspectRatio.new({required int width, required int height})
- GeneralLibrary
- SizeAspectRatio.resize(int width, int height, int maxWidth, int maxHeight)
-
GeneralLibrary
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resize(
int maxWidth, int maxHeight) → SizeAspectRatio - GeneralLibrary
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
dynamic key) → int? - GeneralLibrary
-
operator []=(
dynamic key, dynamic value) → void - GeneralLibrary