Reference

NavigationBarDestination

NavigationBarDestination

NavigationBarDestination control. Build it with the navigation_bar_destination helper.

Example

navigation_bar_destination(
  label: "Label",
  icon: "add",
  bgcolor: :surface_container_high,
  expand: true
)

Properties

  • adaptive — Adapts to the platform (Material/Cupertino) when true.
  • bgcolor — Background color.
  • icon — Icon name shown by the control.
  • label — Text label shown for the control.
  • 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: navigationbardestination
  • Helper: navigation_bar_destination