dynamic_button library

Classes

DynamicButton<T>
DynamicButtonAnimation
Defines all animations used by DynamicButton.
DynamicButtonBehavior
Defines how DynamicButton behaves.
DynamicButtonConfig
Immutable configuration used internally by DynamicButton.
DynamicButtonController<T>
Controls the selection state of a DynamicButton.
DynamicButtonState
Represents the current visual and interaction state of a button.
DynamicButtonStyle
Defines the visual appearance of DynamicButton.
DynamicButtonTheme
Defines a reusable theme for DynamicButton.

Enums

AnimationType
Built-in animation presets.
ButtonAlignment
Alignment of items inside the layout.
ButtonLayout
Defines how the items are arranged.
ButtonSize
Built-in size presets.
IndicatorPosition
Position of the selection indicator.
SelectionMode
Defines how items can be selected.

Typedefs

DynamicButtonItemBuilder<T> = Widget Function(BuildContext context, T item, int index, DynamicButtonState state)
DynamicButtonSelectionChanged<T> = void Function(List<T> selectedItems)