v0.3.1toggle_list
一個容易使用且高度可自訂的可展開清單小部件,適用於您的 Flutter 應用程式。
一個容易使用且高度可自訂的可展開清單小部件,適用於您的 Flutter 應用程式。
以下為英文專案原文快照,最新內容請造訪 GitHub。
An easy-to-use and highly customizable expandable list widget for your Flutter application.
This package is not yet widely tested.
Use it with caution and file any potential issues you see.

flutter pub add toggle_list
Add the following line to your pubspec.yaml file.
dependencies:
toggle_list: ^0.3.1
Then either save the file or use the flutter pub run command.
import 'package:toggle_list/toggle_list.dart';
return Scaffold(
body: ToggleList(
children: [
ToggleListItem(
title: const Text('I am the first item'),
content: const Padding(
padding: EdgeInsets.all(20),
child: Text('Hello there!'),
),
),
ToggleListItem(
title: const Text('I am the second item'),
content: const Padding(
padding: EdgeInsets.all(20),
child: Text('I am delighted that you are here.'),
),
),
ToggleListItem(
title: const Text('I am the third item'),
content: const Padding(
padding: EdgeInsets.all(20),
child: Text('Have a wonderful day!'),
),
),
],
),
);
For a more detailed use case, check out the example directory.
Contributions of any kind are always welcome!
As of now, we don't have a standardized way for contributions. For this reason, if you would like to help us with your coding, feel free to send an email to [contact@binarybush.dev](mailto:contact@binarybush.dev).
:green_book: Documentation
:email: [contact@binarybush.dev](mailto:contact@binarybush.dev)
:bug: Bug report
:zap: Requesting features
Every opened issue is very much appreciated!
依賴清單 4 項
{"sdk":"flutter"}^3.0.1{"sdk":"flutter"}^2.0.1先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗