Accordion
A vertically stacked set of interactive headings that reveal associated content sections when clicked. Each section can be expanded or collapsed independently.
Preview
Usage
FAccordion(...)
FAccordion(
controller: FAccordionController(min: 1, max: 2), // or FAccordionController.radio()
children: [
FAccordionItem(
title: const Text('Is it accessible?'),
child: const Text('Yes. It follows WAI-ARIA design patterns.'),
),
],
);
Examples
With Radio Behaviour
Preview
With Multi-select Behaviour
Preview
Last updated on