label property Null safety
final
The label for the destination.
The label must be provided when used with the NavigationRail. When the NavigationRail.labelType is NavigationRailLabelType.none, the label is still used for semantics, and may still be used if NavigationRail.extended is true.
Implementation
final Widget label;