alert_banner 1.0.0 copy "alert_banner: ^1.0.0" to clipboard
alert_banner: ^1.0.0 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 📣 #

23
likes
140
pub points
88%
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