AnimatedSwitcherLayoutBuilder typedef

Widget AnimatedSwitcherLayoutBuilder (List<Widget> children)

Signature for builders used to generate custom layouts for AnimatedSwitcher.

The function should return a widget which contains the given children, laid out as desired. It must not return null.