MinimalButtonGroupItem class

One action of a MinimalButtonGroup: words, a glyph, or both. A glyph alone names itself to a screen reader through semanticLabel.

Annotations

Constructors

MinimalButtonGroupItem({String? label, IconData? icon, VoidCallback? onPressed, String? semanticLabel, bool iconTrails = false})
A cell of a MinimalButtonGroup: a label, a glyph or both.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
icon → IconData?
Its glyph.
final
iconTrails → bool
Whether the glyph follows the words rather than leading them: a Next's chevron trails its word, a Previous's leads it.
final
label → String?
What the cell says.
final
onPressed → VoidCallback?
Null disables this action alone.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
semanticLabel → String?
What a screen reader hears for a glyph-only action.
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