CachedTransitionBuilder typedef

CachedTransitionBuilder = Widget Function(Widget child, Animation<double> primaryAnimation, Animation<double> secondaryAnimation)

Signature for builders used to generate custom transitions for CachedTransition.

Implementation

typedef CachedTransitionBuilder = Widget Function(
  Widget child,
  Animation<double> primaryAnimation,
  Animation<double> secondaryAnimation,
);