v0.0.8expandable_group
Um novo widget Flutter oferece suporte a lista expandida e colapsada para o usuário.
7Curtidas 69Downloads em 30 dias70Pontos Pub
Plataformas indisponíveis
liemvo/expandable_group open-source repository details.
Texto original em inglês. Visite o GitHub para a versão atual.
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
Lista de dependências 2 itens
{"sdk":"flutter"}{"sdk":"flutter"}Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗