GlossButtonGroupItem class

One key of a GlossButtonGroup.

Annotations

Constructors

GlossButtonGroupItem({required String label, required VoidCallback? onPressed, IconData? icon})
A key named label that does onPressed; null disables it.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
icon → IconData?
The key's glyph, before its words.
final
label → String
What the key says; with GlossButtonGroup.iconsOnly, what a screen reader and the tooltip say.
final
onPressed → VoidCallback?
What the key does; null disables it.
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