NavigationRailDestination
        Inherits: Control
Represents a destination in a NavigationRail.
Properties
- 
          icon(IconDataOrControl | None) –The name of the icon or Controlof the
- 
          indicator_color(ColorValue | None) –The color of the 
- 
          indicator_shape(OutlinedBorder | None) –The shape of the selection indicator. 
- 
          label(StrOrControl | None) –A string or Control representing the destination's label. 
- 
          padding(PaddingValue | None) –The amount of space to inset the destination item. 
- 
          selected_icon(IconDataOrControl | None) –The name of alternative icon or Control
Properties#
class-attribute
      instance-attribute
  
#
icon: IconDataOrControl | None = None
The name of the icon or Control of the
destination.
If selected_icon is provided, this will only be displayed when the destination is
not selected.
To make the NavigationRail more accessible, consider choosing an icon with a stroked
and filled version, such as ft.Icons.CLOUD and ft.Icons.CLOUD_QUEUE. The icon
should be set to the stroked version and selected_icon to the filled version.
class-attribute
      instance-attribute
  
#
indicator_color: ColorValue | None = None
The color of the
indicator_shape when
this destination is selected.
class-attribute
      instance-attribute
  
#
indicator_shape: OutlinedBorder | None = None
The shape of the selection indicator.
class-attribute
      instance-attribute
  
#
label: StrOrControl | None = None
A string or Control representing the destination's label.
class-attribute
      instance-attribute
  
#
padding: PaddingValue | None = None
The amount of space to inset the destination item.
class-attribute
      instance-attribute
  
#
selected_icon: IconDataOrControl | None = None
The name of alternative icon or Control
displayed when this destination is selected.
If this icon is not provided, the NavigationRail will display icon in either
state.