Rect class

Constructors

Rect({required int x, required int y, required int width, required int height})
Rect.fromJS(Rect _wrapped)

Properties

hashCode → int
The hash code for this object.
no setterinherited
height ↔ int
The height of the rectangle.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toJS → Rect
no setter
width ↔ int
The width of the rectangle.
getter/setter pair
x ↔ int
The x coordinate of the rectangle.
getter/setter pair
y ↔ int
The y coordinate of the rectangle.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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