TransitionBuilder typedef

TransitionBuilder = Widget Function(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, ListenableBuilder.builder, WidgetsApp.builder, and MaterialApp.builder.

See also:

Implementation

typedef TransitionBuilder = Widget Function(BuildContext context, Widget? child);