Last updated:
0 purchases
flutter app badge
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>
copied to clipboard
Dart #
First, you just have to import the package in your dart files with:
import 'package:flutter_app_badge/flutter_app_badge.dart';
copied to clipboard
Then you can add a badge:
FlutterAppBadge.count(1);
copied to clipboard
Remove a badge:
FlutterAppBadge.count(0);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.