ParentEdge class
Represents the edge insets of a parent container's padding or bounds.
ParentEdge stores the distances from each edge (left, top, right, bottom) of a parent container. This is used to define padding or safe areas within a layout container that affect how child elements are positioned.
All values are in logical pixels.
Constructors
- ParentEdge({required double left, required double top, required double right, required double bottom})
-
Creates parent edge insets with the specified distances.
const
Properties
- bottom → double
-
The distance from the bottom edge.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- left → double
-
The distance from the left edge.
final
- right → double
-
The distance from the right edge.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- top → double
-
The distance from the top edge.
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 ParentEdge
- A ParentEdge with all edges set to zero.