GgAnimationBuilder typedef
GgAnimationBuilder =
Widget Function(BuildContext context, Animation animation, Widget child, Size size)
A callback GgRouter uses to animate appearing and disappearing widgets.
animation
The ongoing animation.child
The child to appear or disappear.size
The size of the enclosing widget.
Implementation
typedef GgAnimationBuilder = Widget Function(
BuildContext context,
Animation animation,
Widget child,
Size size,
);