NavigationDrawerDestination
        Inherits: Control
Displays an icon with a label, for use in NavigationDrawer destinations.
Properties
- 
          bgcolor(ColorValue | None) –The color of this destination. 
- 
          icon(IconDataOrControl | None) –The name of the icon or Controlof the
- 
          label(str | None) –The text label that appears below the icon of this NavigationDrawerDestination.
- 
          selected_icon(IconDataOrControl | None) –The name of alternative icon or Control
Properties#
class-attribute
      instance-attribute
  
#
bgcolor: ColorValue | None = None
The color of this destination.
class-attribute
      instance-attribute
  
#
icon: IconDataOrControl | None = None
The name of the icon or Control of the
destination.
Example with icon name:
Example with Control:If selected_icon is provided, this will only be displayed when the destination is
not selected.
class-attribute
      instance-attribute
  
#
label: str | None = None
The text label that appears below the icon of this NavigationDrawerDestination.
class-attribute
      instance-attribute
  
#
selected_icon: IconDataOrControl | None = None
The name of alternative icon or Control
displayed when this destination is selected.
Example with icon name:
Example with Control:If this icon is not provided, the NavigationDrawer will display icon in either
state.