Rect class

Coordinates used to describe some views

Constructors

Rect({required double originX, required double originY, required double sizeWidth, required double sizeHeight})

Properties

hashCode → int
The hash code for this object.
no setterinherited
originX ↔ double
The x-coordinate of the upper-left corner of the view.
getter/setter pair
originY ↔ double
The y-coordinate of the upper-left corner of the view.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizeHeight ↔ double
Height of the view
getter/setter pair
sizeWidth ↔ double
Width of the view
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Convert the current object to JSON.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited