⌂
›
Reference
›
NavigationDrawerDestination
NavigationDrawerDestination
NavigationDrawerDestination control. Build it with the navigation_drawer_destination helper.
Example
navigation_drawer_destination(
label: "Label",
icon: "add",
bgcolor: :surface_container_high,
expand: true
)
Properties
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:
navigationdrawerdestination - Helper:
navigation_drawer_destination