flutter_app_badge
支持在 iOS 上更新应用徽章
- 星标
- 2
- 复刻
- 1
- 最近推送(UTC)
- 2023年7月21日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
Flutter app badge plugin
Fork of flutter_app_badger.
This plugin for Flutter adds the ability to change the badge of the IOS app.

Getting Started
iOS
On iOS, the notification permission is required to update the badge. It is automatically asked when the badge is added or removed.
Enable Remote notification in XCode:
Or add in <project>/ios/Runner/Info.plist:
<key>UIBackgroundModes</key>
<array>
<string>remote-notification</string>
</array>
Dart
First, you just have to import the package in your dart files with:
import 'package:flutter_app_badge/flutter_app_badge.dart';
Then you can add a badge:
FlutterAppBadge.count(1);
Remove a badge:
FlutterAppBadge.count(0);
语言DartObjective-CRuby
分类
使用的依赖
依赖清单 1 项
- flutter
{"sdk":"flutter"}
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
