v1.0.1foldable_list
ユーザーがセルをクリックすると表示されるアニメーション付き折りたたみ可能なリスト
koukibadr/Foldable-List open-source repository details.
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
An animated foldable list cells with dynamic widget list input, let you display detailed item cell without navigating to a new screen.
![]() |
![]() |
![]() |
|---|
In order to use foldable list package you need to install it via pubspec.yaml file
dependencies:
foldable_list: ^1.0.1
| Name | Type | Description | Required |
|---|---|---|---|
| foldableItems | List<Widget> |
List of widget items that will be shown when an item is clicked | True |
| items | List<Widget> |
List of widgets that will be shown by default in the listview | True |
| animationDuration | Duration | the duration of the animation by default: Duration(milliseconds: 500) |
False |
| animationType | ANIMATION_TYPE |
the animation that will applied on the transition between items | False |
possible values of animationType : NONE, SIZE_TRANSITION, SCALE
return Scaffold(
backgroundColor: Colors.white,
body: Container(
child: FoldableList(
animationType: ANIMATION_TYPE.NONE,
foldableItems: this.expandedWidgetList,
items: this.simpleWidgetList
)
)
);
Result:
Of course the project is open source, and you can contribute to it repository link
If you found a bug, open an issue.
If you have a feature request, open an issue.
If you want to contribute, submit a pull request.
依存関係一覧 2 件
{"sdk":"flutter"}{"sdk":"flutter"}用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗