WrapOptions class
The properties of the Wrap widget in the ViewType.wrap view.
Constructors
- WrapOptions({Axis direction = Axis.horizontal, WrapAlignment alignment = WrapAlignment.center, double spacing = 5.0, WrapAlignment runAlignment = WrapAlignment.start, double runSpacing = 5.0, WrapCrossAlignment crossAxisAlignment = WrapCrossAlignment.start, TextDirection? textDirection, VerticalDirection verticalDirection = VerticalDirection.down, Clip clipBehavior = Clip.none})
-
Creates a object that contains the properties of the Wrap widget.
const
Properties
- alignment → WrapAlignment
-
How the children within a run should be placed in the main axis.
final
- clipBehavior → Clip
-
The content will be clipped (or not) according to this option.
final
- crossAxisAlignment → WrapCrossAlignment
-
How the children within a run should be aligned relative to each other in
the cross axis.
final
- direction → Axis
-
The direction to use as the main axis.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runAlignment → WrapAlignment
-
How the runs themselves should be placed in the cross axis.
final
- runSpacing → double
-
How much space to place between the runs themselves in the cross axis.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spacing → double
-
How much space to place between children in a run in the main axis.
final
- textDirection → TextDirection?
-
Determines the order to lay children out horizontally and how to interpret
start
andend
in the horizontal direction.final - verticalDirection → VerticalDirection
-
Determines the order to lay children out vertically and how to interpret
start
andend
in the vertical direction.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