controller property

ExpansionTileController? controller
final

If provided, the controller can be used to expand and collapse tiles.

In cases were control over the tile's state is needed from a callback triggered by a widget within the tile, ExpansionTileController.of may be more convenient than supplying a controller.

Implementation

final ExpansionTileController? controller;