MethodChannelFlutterBadgeManager class
Legacy MethodChannel-based fallback implementation of FlutterBadgeManagerPlatform.
Federated platform packages now register their own Pigeon-backed implementations during plugin registration. This class remains available only as a compatibility fallback when no federated implementation has been registered yet.
- Inheritance
-
- Object
- PlatformInterface
- FlutterBadgeManagerPlatform
- MethodChannelFlutterBadgeManager
- Annotations
-
- @Deprecated('Use FlutterBadgeManager.instance or a federated platform implementation. ' 'This class remains as a legacy fallback only.')
Properties
Methods
-
isSupported(
) → Future< bool> -
Checks if the device supports app badges.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
) → Future< void> -
Removes the app badge.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
int count) → Future< void> -
Updates the app badge count.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → MethodChannelFlutterBadgeManager
-
Returns the default instance
of MethodChannelFlutterBadgeManager.
no setter