Reference

NavigationRailDestination

NavigationRailDestination

NavigationRailDestination control. Build it with the navigation_rail_destination helper.

Example

navigation_rail_destination(
  label: "Label",
  icon: "add",
  expand: true
)

Properties

  • icon — Icon name shown by the control.
  • indicator_color — Indicator color.
  • indicator_shape
  • label — Text label shown for the control.
  • padding — Inner spacing between the border and the content.
  • selected_icon — Selected icon.

Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).

Reference

  • Family: materials
  • Widget type: navigationraildestination
  • Helper: navigation_rail_destination