v1.0.1alert_banner
一个强大且美观的提醒横幅,可动画显示消息给用户。
24喜欢 471近 30 天下载140Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个强大且美观的提醒横幅,可动画显示消息给用户。Pub 包。
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0以下为英文项目原文快照,最新内容请访问 GitHub。
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