Rectangle class Null safety
矩形区域
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- height ↔ int
-
矩形高度(px)
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- width ↔ int
-
矩形宽度(px)
read / write
- x ↔ int
-
矩形区域左上角的 x 坐标
read / write
- y ↔ int
-
矩形区域左上角的 y 坐标
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. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited