v1.0.1alert_banner
ユーザーにメッセージをアニメーションで表示する強力で美しいアラートバナーです。
24いいね 47130日間ダウンロード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