0 purchases
configurable expansion tile plus
Configurable Expansion Tile #
It allows you to manually collapse, exapnd or toggle expansion tile
It allows you to hide the default icon
It allows you to disable click of the exapnsion tile
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<ConfiguarableExpansionTileState> _globalKey = GlobalKey();
///To exapnd
_globalKey.currentState?.expand();
///To collapse
_globalKey.currentState?.collapse();
///To toggle
_globalKey.currentState?.toggle();
copied to clipboard
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
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.