alert_banner 1.0.1 copy "alert_banner: ^1.0.1" to clipboard
alert_banner: ^1.0.1 copied to clipboard

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

🔥 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

15
likes
120
pub points
86%
popularity

Publisher

verified publishermatthewtrent.me

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

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on alert_banner