Skip to main content

BadgeTheme

Defines default property values for descendant Badge controls.

Properties

Properties

alignmentclass-attributeinstance-attribute

alignment: Optional[Alignment] = None

Overrides the default value of flet.Badge.alignment in all descendant Badge controls.

bgcolorclass-attributeinstance-attribute

bgcolor: Optional[ColorValue] = None

Overrides the default value of flet.Badge.bgcolor in all descendant Badge controls.

large_sizeclass-attributeinstance-attribute

large_size: Optional[Number] = None

Overrides the default value of flet.Badge.large_size in all descendant Badge controls.

offsetclass-attributeinstance-attribute

offset: Optional[OffsetValue] = None

Overrides the default value of flet.Badge.offset in all descendant Badge controls.

paddingclass-attributeinstance-attribute

padding: Optional[PaddingValue] = None

Overrides the default value of flet.Badge.padding in all descendant Badge controls.

small_sizeclass-attributeinstance-attribute

small_size: Optional[Number] = None

Overrides the default value of flet.Badge.small_size in all descendant Badge controls.

text_colorclass-attributeinstance-attribute

text_color: Optional[ColorValue] = None

Overrides the default value of flet.Badge.text_color in all descendant Badge controls.

text_styleclass-attributeinstance-attribute

text_style: Optional[TextStyle] = None

Overrides the default value of flet.Badge.text_style in all descendant Badge controls.