RatioRect class
Constructors
- RatioRect(double leftRatio, double topRatio, double rightRatio, double bottomRatio)
- RatioRect.matchPosition(MatchPosition matchPosition)
-
factory
Properties
- bottomRatio → double
-
The offset ratio of the top edge of this rectangle from the y axis.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- leftRatio → double
-
The offset ratio of the left edge of this rectangle from the x axis.
final
- rightRatio → double
-
The offset ratio of the left edge of this rectangle from the x axis.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- topRatio → double
-
The offset ratio of the top edge of this rectangle from the y axis.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMatchPosition(
) → MatchPosition -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited