TreeTransitionBuilder typedef

TreeTransitionBuilder = Widget Function(BuildContext context, Widget child, Animation<double> animation)

Signature for a function that takes a widget and an animation to apply transitions if needed.

Implementation

typedef TreeTransitionBuilder = Widget Function(
  BuildContext context,
  Widget child,
  Animation<double> animation,
);