MainAxisAlignmentUtility<T extends Attribute> class
A utility class for creating Attribute instances from MainAxisAlignment values.
This class extends ScalarUtility and provides methods to create Attribute instances from predefined MainAxisAlignment values.
- Inheritance
-
- Object
- MixUtility<
T, MainAxisAlignment> - ScalarUtility<
T, MainAxisAlignment> - MainAxisAlignmentUtility
Constructors
- MainAxisAlignmentUtility(T builder(MainAxisAlignment))
-
const
Properties
- builder → T Function(MainAxisAlignment)
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
MainAxisAlignment value) → T -
inherited
-
center(
) → T - Creates an Attribute instance with MainAxisAlignment.center.
-
end(
) → T - Creates an Attribute instance with MainAxisAlignment.end.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
spaceAround(
) → T - Creates an Attribute instance with MainAxisAlignment.spaceAround.
-
spaceBetween(
) → T - Creates an Attribute instance with MainAxisAlignment.spaceBetween.
-
spaceEvenly(
) → T - Creates an Attribute instance with MainAxisAlignment.spaceEvenly.
-
start(
) → T - Creates an Attribute instance with MainAxisAlignment.start.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited