FLUTTER ECOSYSTEM

BinaryBush/toggle_list

Flutterアプリケーション用に、使いやすく、高度にカスタマイズ可能な展開可能リストウィジェットです。

リストを切り替え のプロジェクト画像
Stars
6
Forks
6
最終プッシュ(UTC)
2023/11/01
プロジェクト状態
公開中
BinaryBush GitHub avatar
GITHUB Organization

BinaryBush ↗

Hungary
言語DartHTMLSwiftKotlinObjective-C

技術トピック

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 4 件

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

Logo

An easy-to-use and highly customizable expandable list widget for your Flutter application.

GitHub release (latest SemVer) GitHub Lines of code

This package is not yet widely tested.

Use it with caution and file any potential issues you see.

https://user-images.githubusercontent.com/50302858/150950690-076b7560-8b8f-4fba-b9c2-0350749abbe7.gif https://user-images.githubusercontent.com/50302858/150950727-0725106d-970b-4618-9db8-e4faec9c030a.gif

Installation

Via command line
flutter pub add toggle_list
Manually

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
import 'package:toggle_list/toggle_list.dart';

Usage

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.

Contributing

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).

Metadata

:green_book: Documentation

:email: [contact@binarybush.dev](mailto:contact@binarybush.dev)

:bug: Bug report

:zap: Requesting features

Every opened issue is very much appreciated!