TransitionBuilder typedef

Widget TransitionBuilder (BuildContext context, Widget child)

A builder that builds a widget given a child.

The child should typically be part of the returned widget tree.

Used by AnimatedBuilder.builder, as well as WidgetsApp.builder and MaterialApp.builder.