flexible_expansion_list 0.0.1 copy "flexible_expansion_list: ^0.0.1" to clipboard
flexible_expansion_list: ^0.0.1 copied to clipboard

outdated

A Flutter widget provide expansion lists in a flexible way.

Flutter Expansion List #

A Flutter package to provide Expandable List with customizable animation and List items.

Example Project #

There is a good example project in the example folder.

Usage #

       FlexibleExpansionList(
        itemCount: data!.length,
        headerBuilder: (BuildContext context, int index, bool isExpanded) {
          return ListTile(
            title: Text(isExpanded ? 'Collapse' : 'Expand'),
          );
        },
        fixedItemBuilder: (BuildContext context, int index) {
          return ListTile(
            title: Text(data![index].fields.title),
            subtitle: Text(data![index].fields.value),
          );
        },
        expandedItemBuilder: (BuildContext context, int index) {
          return Padding(
            padding: const EdgeInsets.symmetric(horizontal: 8),
            child: ListTile(
              title: Text(data![index].title),
              subtitle: Text(data![index].subtitle),
            ),
          );
        },
      ),
5
likes
0
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter widget provide expansion lists in a flexible way.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flexible_expansion_list