BoxSpecUtility<T extends Attribute> class
Provides utility methods for configuring BoxSpecAttributes.
Use this class to define reusable styling and layout configurations for BoxSpecs.
- Inheritance
-
- Object
- MixUtility<
T, BoxSpecAttribute> - SpecUtility<
T, BoxSpecAttribute> - BoxSpecUtility
Constructors
- BoxSpecUtility(T builder(BoxSpecAttribute))
-
Creates a new BoxSpecUtility with the given
builder.
Properties
-
alignment
→ AlignmentUtility<
T> -
Utilities for configuring the BoxSpecAttribute.alignment.
latefinal
-
animated
→ AnimatedUtility<
T> -
no setterinherited
-
border
→ BorderUtility<
T> -
latefinal
-
borderDirectional
→ BorderDirectionalUtility<
T> -
latefinal
-
borderRadius
→ BorderRadiusUtility<
T> -
latefinal
-
borderRadiusDirectional
→ BorderRadiusDirectionalUtility<
T> -
latefinal
- builder → T Function(BoxSpecAttribute)
-
finalinherited
-
clipBehavior
→ ClipUtility<
T> -
Utilities for configuring the BoxSpecAttribute.clipBehavior.
latefinal
-
color
→ ColorUtility<
T> -
Utilities for configuring various properties of the BoxSpecAttribute.decoration.
latefinal
-
constraints
→ BoxConstraintsUtility<
T> -
Utilities for configuring the BoxSpecAttribute.constraints.
latefinal
-
decoration
→ BoxDecorationUtility<
T> -
Utilities for configuring the BoxSpecAttribute.decoration.
latefinal
-
elevation
→ ElevationUtility<
T> -
latefinal
-
foregroundDecoration
→ BoxDecorationUtility<
T> -
Utilities for configuring the BoxSpecAttribute.foregroundDecoration.
latefinal
-
gradient
→ GradientUtility<
T> -
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
height
→ DoubleUtility<
T> -
Utilities for configuring the BoxSpecAttribute.height.
latefinal
-
linearGradient
→ LinearGradientUtility<
T> -
latefinal
-
margin
→ SpacingUtility<
T> -
Utilities for configuring the BoxSpecAttribute.margin.
latefinal
-
maxHeight
→ DoubleUtility<
T> -
latefinal
-
maxWidth
→ DoubleUtility<
T> -
Utilities for configuring various properties of the BoxSpecAttribute.constraints.
latefinal
-
minHeight
→ DoubleUtility<
T> -
latefinal
-
minWidth
→ DoubleUtility<
T> -
latefinal
-
padding
→ SpacingUtility<
T> -
Utilities for configuring the BoxSpecAttribute.padding.
latefinal
-
radialGradient
→ RadialGradientUtility<
T> -
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shadow
→ BoxShadowUtility<
T> -
latefinal
-
shadows
→ BoxShadowListUtility<
T> -
latefinal
-
shapeDecoration
→ ShapeDecorationUtility<
T> -
latefinal
-
transform
→ Matrix4Utility<
T> -
Utilities for configuring the BoxSpecAttribute.transform.
latefinal
-
transformAlignment
→ AlignmentUtility<
T> -
Utilities for configuring the BoxSpecAttribute.transformAlignment.
latefinal
-
width
→ DoubleUtility<
T> -
Utilities for configuring the BoxSpecAttribute.width.
latefinal
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
only(
{AlignmentGeometry? alignment, SpacingDto? padding, SpacingDto? margin, DecorationDto< Decoration> ? decoration, DecorationDto<Decoration> ? foregroundDecoration, BoxConstraintsDto? constraints, double? width, double? height, Matrix4? transform, Clip? clipBehavior, AnimatedDataDto? animated}) → T -
Returns a new BoxSpecAttribute with the specified properties.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited