EdgeInsets class

Constructors

EdgeInsets.all(double value)
Creates insets where all the offsets are value.
const
EdgeInsets.fromLTRB(double left, double top, double right, double bottom)
Creates insets from offsets from the left, top, right, and bottom.
const
EdgeInsets.only({double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0})
Creates insets with only the given values non-zero.
const
EdgeInsets.symmetric({double vertical = 0.0, double horizontal = 0.0})
Creates insets with symmetrical vertical and horizontal offsets.
const

Properties

bottom double
The offset from the bottom.
final
hashCode int
The hash code for this object.
no setterinherited
left double
The offset from the left.
final
The offset from the right.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top double
The offset from the top.
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

Constants

zero → const EdgeInsets
An EdgeInsets with zero offsets in each direction.