DropdownMenuItemSpecUtility<T extends Attribute> class
Utility class for configuring DropdownMenuItemSpec properties.
This class provides methods to set individual properties of a DropdownMenuItemSpec. Use the methods of this class to configure specific properties of a DropdownMenuItemSpec.
Constructors
- DropdownMenuItemSpecUtility(T builder(DropdownMenuItemSpecAttribute), {bool mutable = false})
Properties
-
animated
→ AnimatedUtility<
T> -
Utility for defining
DropdownMenuItemSpecAttribute.animatedlatefinal - attributeBuilder → T Function(DropdownMenuItemSpecAttribute)
-
finalinherited
- attributeValue ↔ T?
-
getter/setter pairinherited
-
chain
→ DropdownMenuItemSpecUtility<
T> -
no setter
-
container
→ FlexBoxSpecUtility<
T> -
Utility for defining DropdownMenuItemSpecAttribute.container
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
icon
→ IconSpecUtility<
T> -
Utility for defining DropdownMenuItemSpecAttribute.icon
latefinal
- mergeKey → Object
-
no setterinherited
-
props
→ List<
Object?> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool
-
no setterinherited
-
text
→ TextSpecUtility<
T> -
Utility for defining DropdownMenuItemSpecAttribute.text
latefinal
-
wrap
→ SpecModifierUtility<
T> -
Utility for defining
DropdownMenuItemSpecAttribute.modifierslatefinal
Methods
-
builder(
DropdownMenuItemSpecAttribute v) → T -
inherited
-
getDiff(
EqualityMixin other) → Map< String, String> -
inherited
-
merge(
covariant SpecUtility< T, DropdownMenuItemSpecAttribute> other) → SpecUtility<T, DropdownMenuItemSpecAttribute> -
Merges this object with
other, returning a new object of typeT.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
only(
{IconSpecAttribute? icon, TextSpecAttribute? text, FlexBoxSpecAttribute? container, WidgetModifiersDataDto? modifiers, AnimatedDataDto? animated}) → T - Returns a new DropdownMenuItemSpecAttribute with the specified properties.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
self
→ DropdownMenuItemSpecUtility<
DropdownMenuItemSpecAttribute> -
no setter