v0.0.8expandable_group
A new Flutter widget support expanded and collapsed list for user..
7Likes 6930-day downloads70Pub points
Platforms unavailable
liemvo/expandable_group open-source repository details.
English project snapshot. Visit GitHub for the latest content.
A new Flutter widget support expanded and collapsed group items in the list of Flutter application. It supports Android, iOS, Web and Desktop.
Build expandable group widget support expanded and collapsed group data.
pubspec.yaml and run pub getdependencies:
expandable_group: ^0.0.6
expandable_group_widget.dart to your file project where is going to use the ListExpandableWidget.import 'package:expandable_group/expandable_group_widget.dart';
ExpandableGroup has some properties as belowheader the header widget and will display in the listitems the list of ListTile will display for each groupisExpanded 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.headerEdgeInsets the EdgeInsets of header widgetheaderBackgroundColor can customise header background colorExpandableGroup(
isExpanded: index == 0,
header: _header('Group $index'),
items: _buildItems(context, group),
headerEdgeInsets: EdgeInsets.only(left: 16.0, right: 16.0)
)
Please file feature requests and bugs with GitHub issues tab
Dependency list 2 items
{"sdk":"flutter"}{"sdk":"flutter"}Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗