advance_expansion_tile 1.0.2 copy "advance_expansion_tile: ^1.0.2" to clipboard
advance_expansion_tile: ^1.0.2 copied to clipboard

1. It allows you to manually collapse, exapnd or toggle expansion tile. It allows you to disable the click

Advance Expansion Tile #

  1. It allows you to manually collapse, expand or toggle expansion tile
  2. It allows you to hide the default icon
  3. It allows you to disable click of the expansion tile
  4. It provides the onTap callback whenever the expansion tile gets clicked

Getting Started #

Exapnd, Collapse, Toggle Manually #

To do so, you need to create global key first.

final GlobalKey<AdvanceExpansionTileState> _globalKey = GlobalKey();

///To exapnd 
_globalKey.currentState?.expand();

///To collapse
_globalKey.currentState?.collapse();

///To toggle
_globalKey.currentState?.toggle();

Properties #

/// use to hide the default trailing icon
bool hideIcon

///use to disable the click of the expansion tile
bool disabled

///use to listen click event once the expansion tile gets clicked.
VoidCallback onTap
10
likes
90
points
376
downloads

Publisher

verified publisherwhizfy.ai

Weekly Downloads

1. It allows you to manually collapse, exapnd or toggle expansion tile. It allows you to disable the click

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on advance_expansion_tile