Accordion - FUIAccordion & FUIAccordionItem

The accordion widget, implemented using FUIAccordion, enables the expansion and collapse of headers and containers. It supports both text and icon content and allows customization of each accordion item to include any widget type.
Widget Class Location
The FUIAccordion widget and other related classes could be found in the directory of:
Class Details
Class Name | Dart File | Description |
|---|---|---|
| fui_accordion.dart | The major widget class for the accordion. |
| fui_accordion_events.dart | The controller for the FUIAccordion (using Flutter Bloc) |
| fui_accordion_events.dart | The controller event class, used by FUIAccordionController. Any parameter that is null will NOT be processed. |
| fui_accordion_item.dart | The accordion item widget class. |
Widget Theme Location
The FUIAccordionTheme class is the theme class that holds the default theme variables/values.
Accessing the theme
To access the theme class object, it can be done by doing this: