BadgeTab class

BrnTabBar tab 的展示配置

Constructors

BadgeTab({String? text, int? badgeNum, String? topText, String? badgeText, bool showRedBadge = false, bool isAutoDismiss = true})

Properties

badgeNum int?
红点数字
getter/setter pair
badgeText String?
红点显示的文本
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isAutoDismiss bool
小红点是否自动消失
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showRedBadge bool
是否显示小红点,默认badgeNum没设置,不显示
getter/setter pair
text String?
Tab文本
final
topText String?
tab顶部文本信息
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited