AnimatedPopup constructor

const AnimatedPopup({
  1. Key? key,
  2. required Widget child,
})

A widget that shows a popup with an animation when it is displayed.

The AnimatedPopup widget displays a popup with a semi-transparent background and an animated child widget. The popup is displayed using a fade and scale animation, and is automatically dismissed after a set duration.

Implementation

const AnimatedPopup({Key? key, required this.child}) : super(key: key);