AspectRatio class
Aspect ratio is the ratio of the width to the height of an image or screen.
Constructors
- AspectRatio.new({double width = 1.0, double height = 1.0})
-
AspectRatio.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{ToJsonConfiguration? config}) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited