EdgeSpacingGeometry class abstract
Abstract base class for edge spacing geometry with directional awareness.
Defines spacing for the edges of an element that can be resolved to absolute values based on text direction (LTR/RTL).
- Implementers
Constructors
- EdgeSpacingGeometry({SpacingUnit top = SpacingUnit.zero, SpacingUnit bottom = SpacingUnit.zero})
-
Creates an edge spacing geometry with optional top and bottom spacing.
const
Properties
- bottom → SpacingUnit
-
The spacing from the bottom edge.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- top → SpacingUnit
-
The spacing from the top edge.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
LayoutTextDirection direction) → EdgeSpacing - Resolves directional spacing (start/end) to absolute spacing (left/right) based on the text direction.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited