AnimatedOverlayWidgetBuilder typedef

AnimatedOverlayWidgetBuilder = Widget Function(BuildContext context, double progress)

To build a widget with animated value. progress : the progress of overlay animation from 0 - 1

A simple use case is TopSlideNotification in showOverlayNotification.

Implementation

typedef AnimatedOverlayWidgetBuilder = Widget Function(
  BuildContext context,
  double progress,
);