Skip to content

A powerful & beautiful alert banner that animates a message to the user. Pub package.

License

Notifications You must be signed in to change notification settings

mattrltrent/alert_banner

Repository files navigation

🔥 A powerful & beautiful alert banner that animates a message to the user 🔥

  • Submit an issue here.

  • Create a pull request here.

  • Contact me via email here.

One simple way to use 📚

Here is a quick example. Simply call showAlertBanner(...).

TextButton(
    onPressed: () =>  showAlertBanner( // <-- The function!
    context,
    () =>  print("TAPPED"),
    const  ExampleAlertBannerChild(), // <-- Put any widget here you want!
    alertBannerLocation:  AlertBannerLocation.bottom,
    ),
    child:  const  Text("Show alert"),
    // .. EDIT MORE FIELDS HERE ...
),

Installing 🧑‍🏫

  • Install the package from the pub.

  • flutter pub add alert_banner

  • Import the package.

  • import 'package:alert_banner/exports.dart';

Example Gif 📸

Additional Info 📣

analytics

About

A powerful & beautiful alert banner that animates a message to the user. Pub package.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published