simple_accordion 0.0.3 copy "simple_accordion: ^0.0.3" to clipboard
simple_accordion: ^0.0.3 copied to clipboard

Accordion widget

simple_accordion #

img-1 img-1 img-1
img-1 img-1 img-1

If you like, you can contribute for this repository. I'll check all PR that you pushed.

About Widget #

this is an accordion widget that supports usual types of an accordion widget and easy to use!

Add to your project #

flutter pub add simple_accordion

Just import lib and use it! #

import 'package:simple_accordion/simple_accordion.dart';

How to use #

The main widget is SimpleAccordion and it has children parameter that you can pass accrodion items to it like below:

SimpleAccordion(
              children: [
                AccordionHeaderItem(
                  title: "Colors",
                  children: [
                    AccordionItem(title: "Blue"),
                    AccordionItem(title: "Red"),
                    AccordionItem(title: "Green"),
                    AccordionItem(title: "Black"),
                  ],
                ),
              ],
)