Rectangle class Null safety
Rectangle in an image.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- height ↔ int
-
Height of the rectangle.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- width ↔ int
-
Width of the rectangle.
read / write
- x ↔ int
-
X coordinate of the top-left corner.
read / write
- y ↔ int
-
Y coordinate of the top-left corner.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited