common_button library
Classes
- ButtonStyle
- How a button looks: each property comes from the button's own style, then ButtonTheme, then the defaults, as on a Material button.
- ButtonTheme
- Styles the buttons below.
- ButtonThemeData
- A style for each kind of button: IconButton, TextButton, FilledButton and OutlinedButton.
- FilledButton
- Laid out as a Material 3 filled button, pressed as IconButton is.
- IconButton
-
An icon button pressed as iOS 27 presses one: no ripple, a tint while
held. See Press in
.agents/surfaces.md. - OutlinedButton
- Laid out as a Material 3 outlined button, pressed as IconButton is.
- TextButton
- Laid out as a Material 3 text button, pressed as IconButton is.
Typedefs
-
ButtonLayerBuilder
= Widget Function(BuildContext context, Set<
WidgetState> states, Widget? child) - Builds what stands behind a button's padded content and fills the button.