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