ComicButtonGroupItem class
One action in a ComicButtonGroup.
- Annotations
Constructors
- ComicButtonGroupItem(String label, {IconData? icon, VoidCallback? onPressed, bool iconOnly = false})
-
Creates a ComicButtonGroupItem.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
An optional glyph before the words.
final
- iconOnly → bool
-
Shows the glyph alone (give it an icon).
final
- label → String
-
Its words, and its name for a screen reader.
final
- onPressed → VoidCallback?
-
Called when pressed; null disables this one.
final
- 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