EdgeInsets class
- Annotations
-
- @immutable
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.
no setterinherited
- horizontal → double
-
The total offset in the horizontal direction.
no setter
- left → double
-
final
- right → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- top → double
-
final
- vertical → double
-
The total offset in the vertical direction.
no setter
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 nonexistent 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