widgets/widget_expandable library
Classes
- Expandable
-
Shows either the expanded or the collapsed child depending on the state.
The state is determined by an instance of ExpandableController provided by
ScopedModel
- ExpandableButton
- Toggles the state of ExpandableController when the user clicks on it.
- ExpandableController
- Controls the state (expanded or collapsed) of one or more Expandable. The controller should be provided to Expandable via ExpandableNotifier.
- ExpandableIcon
-
An down/up arrow icon that toggles the state of ExpandableController when the user clicks on it.
The model is accessed via
ScopedModelDescendant
. - ExpandableNotifier
- Makes an ExpandableController available to the widget subtree. Useful for making multiple Expandable widgets synchronized with a single controller.
- ExpandableNotifierState
- ExpandablePanel
- A configurable widget for showing user-expandable content with an optional expand button.
- ExpandableTheme
- ExpandableThemeData
- ScrollOnExpand
- Ensures that the child is visible on the screen by scrolling the outer viewport when the outer ExpandableNotifier delivers a change event.
Enums
- ExpandablePanelBodyAlignment
- Determines vertical alignment of the body
- ExpandablePanelHeaderAlignment
- Determines the alignment of the header relative to the expand icon
- ExpandablePanelIconPlacement
- Determines the placement of the expand/collapse icon in ExpandablePanel
Typedefs
- ExpandableBuilder = Widget Function(BuildContext context, Widget collapsed, Widget expanded)