button library

Classes

Button
Buttons allow users to take actions, and make choices, with a single tap
ButtonEvent
Interactive events that Button can take on when receiving input from the user.
ButtonStyle
The style to be applied to button widget
ButtonTheme
A Widget that controls how descendant buttons should look like.
ButtonThemeData
Defines the visual properties of Button.
ButtonThemeDefaults
ButtonThemeIos
ButtonThemeM2
ButtonThemeM3
DrivenButton
Buttons allow users to take actions, and make choices, with a single tap
DrivenButtonStyle
Create a ButtonStyle when some events occurs
DrivenToggleButton
Buttons allow users to take actions, and make choices, with a single tap
ElevatedButton
Elevated buttons are high-emphasis, distinguished by their use of elevation and fill. They contain actions that are primary to your app.
ElevatedToggleButton
Elevated buttons are high-emphasis, distinguished by their use of elevation and fill. They contain actions that are primary to your app.
FilledButton
Filled buttons are high-emphasis, distinguished by their use of elevation and fill. They contain actions that are primary to your app.
FilledToggleButton
Filled buttons are high-emphasis, distinguished by their use of elevation and fill. They contain actions that are primary to your app.
OutlinedButton
Outlined buttons are medium-emphasis buttons. They contain actions that are important but aren't the primary action in an app.
OutlinedToggleButton
Outlined buttons are medium-emphasis buttons. They contain actions that are important but aren't the primary action in an app.
TextButton
Text buttons are typically used for less-pronounced actions.
TextToggleButton
Text buttons are typically used for less-pronounced actions.
ToggleButton
A Toggle Button can be used to group related options.
ToggleButtonTheme
A Widget that controls how descendant buttons should look like.
ToggleButtonThemeData
Defines the visual properties of Button.
ToggleButtonThemeDefaults
ToggleButtonThemeIos
ToggleButtonThemeM2
ToggleButtonThemeM3
TonalButton
A tonal button is an alternative middle ground between filled and outlined buttons. They’re useful in contexts where a lower-priority button requires slightly more emphasis than an outline would give, such as "Next" in an onboarding flow. Tonal buttons use the secondary color mapping.
TonalToggleButton
A tonal button is an alternative middle ground between filled and outlined buttons. They’re useful in contexts where a lower-priority button requires slightly more emphasis than an outline would give, such as "Next" in an onboarding flow. Tonal buttons use the secondary color mapping.