WBadgeConfig class
徽章配置类,用于配置徽章的位置和显示状态
Constructors
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
-
hideBadge(
) → WBadgeConfig - 隐藏徽章
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
position(
{double? start, double? end, double? top, double? bottom, bool isCenter = false}) → WBadgeConfig - 设置徽章的自定义位置
-
positionCenter(
) → WBadgeConfig - 设置徽章位置为中心
-
positionTopRight(
double top, double right) → WBadgeConfig - 设置徽章位置为右上角
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited