simple_accordion 0.0.2 simple_accordion: ^0.0.2 copied to clipboard
Accordion widget
simple_accordion #
![enter image description here](https://raw.githubusercontent.com/parsadoc/simple_accordion/dev/screenshots/1.png) | ![enter image description here](https://raw.githubusercontent.com/parsadoc/simple_accordion/dev/screenshots/2.png) | ![enter image description here](https://raw.githubusercontent.com/parsadoc/simple_accordion/dev/screenshots/3.png) |
![enter image description here](https://raw.githubusercontent.com/parsadoc/simple_accordion/dev/screenshots/4.png) | ![enter image description here](https://raw.githubusercontent.com/parsadoc/simple_accordion/dev/screenshots/5.png) | ![enter image description here](https://raw.githubusercontent.com/parsadoc/simple_accordion/dev/screenshots/6.png) |
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"),
],
),
],
)