TransitionBuilder typedef
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.
See also:
- WidgetBuilder, which is similar but only takes a BuildContext.
- IndexedWidgetBuilder, which is similar but also takes an index.
- ValueWidgetBuilder, which is similar but takes a value and a child.
Implementation
typedef TransitionBuilder = Widget Function(BuildContext context, Widget child);