BoxAlignment class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
value
→ double
-
The alignment value, where -1.0 is start, 0.0 is center, and 1.0 is end.
final
Methods
-
adjustSize({required ParentLayout parent, required LayoutAxis axis, required double viewportSize, required double contentSize})
→ double?
-
Optionally adjusts the size of the child during alignment.
inherited
-
adjustSpacing({required ParentLayout parent, required LayoutAxis axis, required double viewportSize, required double contentSize, required double startSpacing, required double spacing, required double endSpacing, required int affectedCount})
→ ({double additionalEndSpacing, double additionalSpacing, double additionalStartSpacing})?
-
Adjusts spacing between items when distributing space.
inherited
-
align({required ParentLayout parent, required LayoutAxis axis, required double viewportSize, required double contentSize, required double maxBaseline, required double childBaseline})
→ double
-
Calculates the alignment position based on the value.
override
-
needsBaseline({required ParentLayout parent, required LayoutAxis axis})
→ bool
-
This alignment never requires baseline information since it doesn't support baseline alignment.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited