EdgeInsets class Null safety

Annotations

Constructors

EdgeInsets.all(double value)
const
EdgeInsets.fromLTRB(double left, double top, double right, double bottom)
const
EdgeInsets.only({double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0})
const
EdgeInsets.symmetric({double vertical = 0.0, double horizontal = 0.0})
const

Properties

bottom double
final
hashCode int
The hash code for this object. [...]
read-only, inherited
horizontal double
The total offset in the horizontal direction.
read-only
left double
final
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
top double
final
vertical double
The total offset in the vertical direction.
read-only

Methods

add(EdgeInsets other) EdgeInsets
Returns the sum of two EdgeInsets objects.
copyWith({double? left, double? top, double? right, double? bottom}) EdgeInsets
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

Constants

zero → const EdgeInsets
EdgeInsets.only()