Rect class

A 2D rectangle representing bounds in terminal space.

Constructors

Rect(int x, int y, int width, int height)
Creates a new Rect with the specified x, y, width, and height.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
height int
The height of the rectangle.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
The width of the rectangle.
final
x int
The horizontal x-coordinate of the rectangle's top-left corner.
final
y int
The vertical y-coordinate of the rectangle's top-left corner.
final

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
override