widgets/poll_expressive library

Classes

PollSelectionIndicator
Multi-select indicator: an outlined circle that morphs into a filled cookie with a check when selected.
PollShapeBadge
A MaterialShapes shape filled with color, with an optional centered icon. Hidden from screen readers unless semanticLabel is set.
PollShapeLoader
A Material 3 Expressive style loading indicator in the ambient IconTheme color that spins while morphing through MaterialShapes. Shows a still shape when animations are disabled.
PollSpringValue
Springs a value from initialValue (or value) to value, and again whenever value changes. Jumps when animations are disabled.

Functions

expressiveButtonTheme(BuildContext context, {required Widget child}) → Widget
Makes the ElevatedButtons in child Expressive, keeping the ambient button style.