v1.0.1alert_banner
A powerful & beautiful alert banner that animates a message to the user.
A powerful & beautiful alert banner that animates a message to the user. Pub package.
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0English project snapshot. Visit GitHub for the latest content.
Submit an issue here.
Create a pull request here.
Contact me via email [here](mailto:me@matthewtrent.me).
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 ...
),
Install the package from the pub.
flutter pub add alert_banner
Import the package.
import 'package:alert_banner/exports.dart';
The package is always open to improvements, [suggestions](mailto:me@matthewtrent.me), and additions!
I'll look through PRs and issues as soon as I can!
analytics