EditButtonType enum
Enum representing the different types of edit buttons that can be used to trigger editing mode in the MutableText widget.
- ghost: Uses a subtle GhostButton for a minimalistic edit trigger, ideal for inline text in forms or cards.
- pencil: Displays a pencil icon via IconButton, providing a clear visual cue for editable content, commonly used in lists or detail views.
This enum integrates with MutableText's button configuration to support dynamic text mutation while maintaining UI consistency with other input components like Fab and CycleButton.
Values
- ghost → const EditButtonType
- pencil → const EditButtonType
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
EditButtonType> - A constant List of the values in this enum, in order of their declaration.