custom_alert_popup 0.0.2 copy "custom_alert_popup: ^0.0.2" to clipboard
custom_alert_popup: ^0.0.2 copied to clipboard

discontinued

CustomAlertPopup is a customizable alert dialog widget for Flutter applications. It offers various features, including support for Image and Video, custom widgets, animations, countdown timers,loading [...]

CustomAlertPopup #

CustomAlertPopup is a customizable alert dialog widget for Flutter applications. It offers various features, including support for Image and Video, custom widgets, animations, countdown timers,loading button and responsive design. This widget is highly configurable to fit a wide range of use cases in your application.

Features #

  • Support Image and Video
  • Custom title, description, and widgets
  • Countdown timer with delay
  • Support for images and videos
  • Configurable buttons with custom actions
  • Multiple animation types (fade, scale, slide, none)
  • Responsive design for different screen sizes
  • Hidable close button
  • Loading state for buttons

Installation #

Add this package to your pubspec.yaml file:

dependencies:
  custom_alert_popup: ^1.0.0
Center(
  child: ElevatedButton(
    onPressed: () {
      showDialog(
        context: context,
        builder: (context) => const CustomAlertPopup(
          title: "Hello",
          description: "This is a custom alert dialog box",
          firstButtonText: "Ok",
          secondButtonText: "Cancel",
          // Do not pass image and video simultaneously; pass one at a time.
          // imagePath: "assets/images/demo_image.png", 
          videoPath: "assets/videos/demo_video.mp4", 
        ),
      );
    },
    child: const Text("Custom Alert Box"),
  ),
)

6
likes
0
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

CustomAlertPopup is a customizable alert dialog widget for Flutter applications. It offers various features, including support for Image and Video, custom widgets, animations, countdown timers,loading button and responsive design. This widget is highly configurable to fit a wide range of use cases in your application

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_animate, flutter_hooks, flutter_timer_countdown, video_player, video_player_win

More

Packages that depend on custom_alert_popup