搜索插件、代码仓与 APP 分类

expansion_tile_group 封面
插件详情v2.3.0

expansion_tile_group

通过集成高度可定制的组件,突破标准 ExpansionTile 小部件的限制,全面扩展其功能。以及更多令人惊叹的功能。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
5540
喜欢数
102
Pub 分数
160

安装插件

flutter pub add expansion_tile_group

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

expansion_tile_group 包通过高级自定义和功能增强了标准的 ExpansionTile 小部件。它使开发者能够轻松管理多个展开项,支持单个或多个打开状态、动画过渡以及可自定义的标题和内容。非常适合创建复杂的可折叠界面,如常见问题解答、设置面板或折叠面板。该包专为跨平台使用而设计,并可无缝集成到 Flutter 应用中。

适合场景

  • 创建交互式常见问题
  • 构建可折叠的设置菜单
  • 设计手风琴式界面
  • 实现嵌套可展开列表
  • 为网页和移动设备开发响应式用户界面

主要特点

  • 支持单个或多个打开的瓷砖
  • 可自定义的标题和内容部件
  • 展开/折叠的平滑动画
  • 跨平台兼容性
  • 与现有 Flutter 代码的轻松集成
  • 可配置的过渡持续时间

适合对象

  • 开发复杂可扩展UI的开发者
  • 需要动态折叠面板行为的应用
  • 需要跨平台一致扩展模式的项目
  • 优先考虑可重用和可维护代码的团队
  • Flutter 初学者学习列表中的状态管理

使用建议

  • 可能需要额外的状态管理来处理复杂逻辑
  • 大量瓦片情况下的性能影响
  • 除了基本用法外,文档有限
  • 不适合简单的单次展开需求
  • 需要理解 Flutter 的 widget 树和状态处理

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

expansion_tile_group

Enhance your Flutter apps with this advanced ExpansionTile package! This package overcomes the limitations of the standard ExpansionTile widget by incorporating highly customizable widgets that fully extends its functionality. These widgets can be seamlessly grouped and their interactions easily managed, offering you unparalleled control and flexibility.

Overview

Check out Example Or our Documentation

fantasy_demo_gif

Image Image Image Image Image Image

Check out Example Or our Documentation

Migrate with CHANGE LOG

Features

Item features:

  • ExpansionTileItem fully extends standard of ExpansionTile functionality.
  • Supported many commonly types of ExpansionTileItem UIs: ExpansionTileOutlined, ExpansionTileFlat, ExpansionTileLeaf, ExpansionTileCard.
  • Can easily control behaviors of an ExpansionTileItem from anywhere (expand or collapse from anywhere).
  • Can easily custom or add decoration into an ExpansionTileItem with Border, BorderRadius, Shadow, or BoxDecoration and more.
  • Can prevent an ExpansionTileItem expand until a task is completed.
  • Can remove completely the trailing included: area, arrow icon that ExpansionTile can NOT. With that the title can be extended the fully width.
  • Can remove completely default title's vertical padding of an ExpansionTile.
  • Can hide the subtitle of an ExpansionTileItem whenever it expanded.
  • Can change the default Trailing Icon to a custom widget with keeping default rotate animation.

Group features:

  • Can group ExpansionTileItems together and manage them.
  • Supporting type's behaviors of interactions of items in group: ExpandOnlyCurrent, ExpandAll, CollapseAll, ExpandAllOrCollapseAll, expandAlwaysCurrent.
  • Can listen to behaviors' changed of items in the group.
  • Can add the space between items in the group.

Documentation

See the API documentation for details on the following topics:

FAQ

You can read the FAQ here: FAQ

Sponsoring

If this package or any other package I created is helping you, please consider sponsoring me so that I can take time to update this package.

Buy Me A Coffee

OR

7ezgif-5-20a8a8001a

Contributions

Feel free to contribute to this project. Check more Contributing guide

I'd really appreciate it if you know any common ExpansionTile UIs and give the PR.

If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.

If you fixed a bug or implemented a feature, please send a pull request.

Visitors Count

Visitor Count

所属分类

源码仓库

使用此插件的项目

暂无相关数据。