BadgeBehavior class abstract final

What Compose's Badge sets in code (behavior.yaml, verified at the pin).

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

Operators

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

Constants

contentHorizontalOffset → const Dp
How far a count badge's start edge stands in from its anchor's end edge (BadgedBox). (Badge.kt line 209.)
contentHorizontalPadding → const Dp
A count badge's horizontal padding around its label. (Badge.kt line 202.)
contentVerticalOffset → const Dp
How far a count badge's bottom edge stands below its anchor's top edge (BadgedBox). (Badge.kt line 211.)
dotOffset → const Dp
How far a dot badge stands in from its anchor's end edge and below its top edge (BadgedBox's BadgeOffset). (Badge.kt line 218.)