Tab
        Inherits: AdaptiveControl
A Material Design TabBar tab.
Properties
- 
          height(Number | None) –The height of the tab. 
- 
          icon(IconDataOrControl | None) –An icon to display on the left of Tab text. 
- 
          icon_margin(MarginValue | None) –The margin added around the tab's icon. 
- 
          label(StrOrControl | None) –The tab's name. Can be either a string or a control. 
Properties#
class-attribute
      instance-attribute
  
#
icon: IconDataOrControl | None = None
An icon to display on the left of Tab text.
class-attribute
      instance-attribute
  
#
icon_margin: MarginValue | None = None
The margin added around the tab's icon.
Only useful when used in combination with icon,
and label is not None.
Defaults to 2 pixels of bottom margin.
If Theme.use_material3 is False,
then defaults to 10 pixels of bottom margin.
class-attribute
      instance-attribute
  
#
label: StrOrControl | None = None
The tab's name. Can be either a string or a control.
Raises: