ElevationUtility<T extends Attribute> class
A utility class for building Attribute instances from elevation values.
This class extends MixUtility and provides methods to create Attribute instances based on predefined elevation values, which are mapped to corresponding lists of BoxShadowDto objects using the kElevationToShadow map.
- Inheritance
-
- Object
- MixUtility<
T, List< BoxShadowDto> > - ElevationUtility
Constructors
-
ElevationUtility(T builder(List<
BoxShadowDto> )) -
const
Properties
-
builder
→ T Function(List<
BoxShadowDto> ) -
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(
int value) → T - Creates an Attribute instance from an elevation value.
-
eight(
) → T -
Creates an
Tinstance with an elevation of 8. -
four(
) → T -
Creates an
Tinstance with an elevation of 4. -
nine(
) → T -
Creates an
Tinstance with an elevation of 9. -
none(
) → T -
Creates an
Tinstance with no elevation. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
one(
) → T -
Creates an
Tinstance with an elevation of 1. -
six(
) → T -
Creates an
Tinstance with an elevation of 6. -
sixteen(
) → T -
Creates an
Tinstance with an elevation of 16. -
three(
) → T -
Creates an
Tinstance with an elevation of 3. -
toString(
) → String -
A string representation of this object.
inherited
-
twelve(
) → T -
Creates an
Tinstance with an elevation of 12. -
twentyFour(
) → T -
Creates an
Tinstance with an elevation of 24. -
two(
) → T -
Creates an
Tinstance with an elevation of 2.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited