ConfirmStyles class
Styles for the confirm component.
Constructors
- ConfirmStyles({Style? prompt, Style? activeChoice, Style? inactiveChoice, Style? hint, Style? dimmed, String? yesText, String? noText, String? separator})
- ConfirmStyles.defaults()
-
Creates default styles.
factory
Properties
- activeChoice → Style
-
Style for the active (selected) choice.
final
- dimmed → Style
-
Style for dimmed elements.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → Style
-
Style for the hint text.
final
- inactiveChoice → Style
-
Style for the inactive choice.
final
- noText → String
-
Text for the "no" option.
final
- prompt → Style
-
Style for the prompt text.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- separator → String
-
Separator between yes and no options.
final
- yesText → String
-
Text for the "yes" option.
final
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