v1.0.1alert_banner
一个强大且美观的提醒横幅,可动画显示消息给用户。
24喜欢 464近 30 天下载140Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个强大且美观的提醒横幅,可动画显示消息给用户。Pub 包。
以下为英文项目原文快照,最新内容请访问 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!
依赖清单 3 项
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗