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

discontinued

A new Flutter widget support expanded and collapsed list for user..

ListExpandable #

A new Flutter widget support expanded and collapsed list for Flutter application. It supports Android, iOS, Web and Desktop.

Build expandable list widget support expanded and collapsed group data.

Features #

  • Expand and collapse header in the List
  • Support customise header and item in the list
  • Single ListView

Getting Started #

1. Add dependency to your project's pubspec.yaml and run pub get #

dependencies:
  list_expandable: ^0.0.3

2. Import list_expandable_widget.dart to your file project where is going to use the ListExpandableWidget. #

import 'package:list_expandable/list_expandable_widget.dart';

3. The ListExpandableWidget has some properties as below #

3.1 Required

  • header the header widget and will display in the list
  • items the list of ListTile will display for each group

3.2 Optional

  • isExpanded is a boolean to expand or collapse header. isExpanded == true is the header will be expanded and otherwise. The default value is false.
  • expandedIcon and collapsedIcon are the widgets for expanded and collapsed state.

4. Examples #

ListExpandableWidget(
    isExpanded: index == 0,
    header: _header('Group $index'),
    items: _buildItems(context, group),
)

Submit bugs or request features #

Please file feature requests and bugs with GitHub issues tab

0
likes
30
pub points
4%
popularity

Publisher

unverified uploader

A new Flutter widget support expanded and collapsed list for user..

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on list_expandable