ExpanderBuilder typedef
ExpanderBuilder =
Widget Function(BuildContext context, bool isExpanded, Animation<double> animation)
Callback for building the expander icon or content.
Example:
Widget buildExpander(BuildContext context, bool isExpanded, Animation<double> animation) {
return RotationTransition(
turns: animation,
child: Icon(Icons.chevron_right),
);
}
Implementation
typedef ExpanderBuilder = Widget Function(
BuildContext context,
bool isExpanded,
Animation<double> animation,
);