Box class

Class for representing a box.

A box is specified as a top, right, bottom, and left. A box is useful for representing margins and padding.

Constructors

Box({int top = 0, int right = 0, int bottom = 0, int left = 0})
const

Properties

bottom int
final
hashCode int
The hash code for this object.
no setterinherited
left int
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top int
final

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