header property
Widget Function(bool isExpanded, Animation<double> iconTurns, Animation<double> heightFactor, ConfigurableExpansionTileController controller)
header
final
The header for the expansion tile eg:
ConfigurableExpansionTile(
header: (isExpanded,_,heightFactor) {
return Expanded(
child: ListTile(
title: Text(e.title),
trailing: AnimatedIcon(
icon: AnimatedIcons.menu_close,
progress: heightFactor)
)
);
})
Implementation
final Widget Function(bool isExpanded, Animation<double> iconTurns,
Animation<double> heightFactor,ConfigurableExpansionTileController controller) header;