BadgeManager class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
getBrand()
→ Future<String>
-
methodName getBrand
description 获取手机品牌
date 2022/4/15 18:01
author waitwalker
-
isSupportedBadge()
→ Future<bool>
-
methodName isSupportedBadge
description 查看机型是否支持设置角标
date 2022/4/15 18:01
author waitwalker
-
removeBadge()
→ Future<void>
-
methodName removeBadge
description 移除角标
date 2022/4/15 18:02
author waitwalker
-
setBadge({required int count, String? title, String? content})
→ Future<void>
-
methodName setBadge
description 设置角标 count是必传参数, 其他参数是Android必传
date 2022/4/15 18:01
author waitwalker