パッケージ、リポジトリ、アプリカテゴリを検索

flutter_expanded_tile のカバー
パッケージ詳細v0.4.0

flutter_expanded_tile

リストタイルに似た拡張タイルで、先頭ウィジェットをサポートし、コンテンツの拡張アニメーションをプログラム制御できます。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
1.5万
いいね数
77
Pub ポイント
150

パッケージをインストール

flutter pub add flutter_expanded_tile

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

flutter_expanded_tile は、Flutter用のカスタマイズ可能な拡張タイルウィジェットであり、標準的なリストタイルの動作を模倣しながら、先頭ウィジェットをサポートし、アニメーション付きでスムーズなプログラムによるコンテンツ拡張を実現します。このウィジェットは、リスト内の折りたたみ可能なセクションを可能にすることで、UIデザインを向上させ、クリーンでインタラクティブな形でコンテンツを整理するのに最適です。このパッケージは、モバイル、Web、デスクトップを含むすべての主要プラットフォームで互換性があり、一貫した挙動を保証します。開発者は、展開状態や遷移に対して細かな制御が可能です。

用途

  • 折りたたみ可能な設定パネルの作成
  • アプリ内によくある質問セクションを構築する
  • リストに詳細情報を整理する
  • 動的フォームセクションの設計
  • 展開可能な製品詳細の実装

主な機能

  • 先頭ウィジェットをサポート
  • プログラムによる展開制御
  • 拡張中のスムーズなアニメーション
  • クロスプラットフォーム互換性
  • カスタマイズ可能な外観
  • 状態管理のための直感的な API

適している対象

  • インタラクティブなリストを構築する開発者
  • 拡張可能なコンテンツが必要なUIデザイナー
  • 折りたたみ可能なナビゲーションまたは設定を必要とするアプリ
  • クロスプラットフォーム展開が必要なプロジェクト
  • 滑らかなアニメーションを重視するチーム

注意事項

  • 複雑なレイアウトでは状態の取り扱いに注意が必要です
  • 大規模なタイル数ではパフォーマンスに影響する可能性があります
  • 垂直拡張のみに制限されています
  • 非リストコンテナの使用事例には適していません
  • 滑らかさのためにFlutterのアニメーションフレームワークに依存しています

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

flutter_expanded_tile

An Expansion tile similar to the list tile supports leading widget,and programatic control with content expansion animation.

Getting Started

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  flutter_expanded_tile: [latest version]
2. Install it
$ flutter pub get
3. Import it
import 'package:flutter_expanded_tile/flutter_expanded_tile.dart';

Example

See Example page for example code.

ToDo list

[x] Adding Null Safety. [x] Adding Tap Callbacks. [x] Adding Listview widget with available controller for certain index. [x] Adding new separated constructor to the ExpandedTileList widget. [x] Adding border data to the tile with a full tile border feature.

Contributing

Contributing is more than welcomed on any of my packages/plugins. I will try to keep adding suggested features as i go.

Versioning

  • V0.4.0 - Refactored/Updated some code + Resolved some issues + Added 'initialinitiallyOpenedControllersIndexes' Property to the ListTile + Added footer widget to the tile.
  • V0.3.7 - Resolved some issues + Added 'disableAnimation' Property to the Tile.
  • V0.3.6 - Added 'Enabled' Property to the Tile.
  • V0.3.5 - Added ExpandedTileList.separated constructor to the ExpandedTileList widget.
  • V0.3.4 - Added ExpandedTileList widget.
  • V0.3.3 - Added Documentations and refactored code.
  • V0.3.2 - Added initial expansion state to the controller and Tap callbacks to the widget.
  • V0.3.0 - Added Null Safety, Changed some customization properties, Removed checkbox trailing widget as it is possible to implement with a widget,and fixed some bugs.
  • V0.2.1 - Added onChecked callback.
  • V0.2.0 - Added controller for programatic expansion and checkbox functionality.
  • V0.1.0 - Initial Release.

Authors

Michael Aziz (Micazi) - Github

License

This project is licensed under the MIT License - see the LICENSE.md file for details

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。