BadgeTheme
Defines default property values for descendant Badge controls.
Properties
-
alignment(Alignment | None) –Overrides the default value of
Badge.alignmentin all descendantBadgecontrols. -
bgcolor(ColorValue | None) –Overrides the default value of
Badge.bgcolorin all descendantBadgecontrols. -
large_size(Number | None) –Overrides the default value of
Badge.large_sizein all descendantBadgecontrols. -
offset(OffsetValue | None) –Overrides the default value of
Badge.offsetin all descendantBadgecontrols. -
padding(PaddingValue | None) –Overrides the default value of
Badge.paddingin all descendantBadgecontrols. -
small_size(Number | None) –Overrides the default value of
Badge.small_sizein all descendantBadgecontrols. -
text_color(ColorValue | None) –Overrides the default value of
Badge.text_colorin all descendantBadgecontrols. -
text_style(TextStyle | None) –Overrides the default value of
Badge.text_stylein all descendantBadgecontrols.
Properties#
alignment
class-attribute
instance-attribute
#
alignment: Alignment | None = None
Overrides the default value of Badge.alignment in all descendant Badge controls.
bgcolor
class-attribute
instance-attribute
#
bgcolor: ColorValue | None = None
Overrides the default value of Badge.bgcolor in all descendant Badge controls.
large_size
class-attribute
instance-attribute
#
large_size: Number | None = None
Overrides the default value of Badge.large_size in all descendant Badge controls.
offset
class-attribute
instance-attribute
#
offset: OffsetValue | None = None
Overrides the default value of Badge.offset in all descendant Badge controls.
padding
class-attribute
instance-attribute
#
padding: PaddingValue | None = None
Overrides the default value of Badge.padding in all descendant Badge controls.
small_size
class-attribute
instance-attribute
#
small_size: Number | None = None
Overrides the default value of Badge.small_size in all descendant Badge controls.
text_color
class-attribute
instance-attribute
#
text_color: ColorValue | None = None
Overrides the default value of Badge.text_color in all descendant Badge controls.
text_style
class-attribute
instance-attribute
#
text_style: TextStyle | None = None
Overrides the default value of Badge.text_style in all descendant Badge controls.