v0.0.8expandable_group
一個新的Flutter組件支援使用者展開和收起清單。
7喜歡 69近 30 天下載70Pub 分數
平台暫無資料
liemvo/expandable_group open-source repository details.
以下為英文專案原文快照,最新內容請造訪 GitHub。
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
依賴清單 2 項
{"sdk":"flutter"}{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗