NavigationWidgetBuilder typedef

NavigationWidgetBuilder = Widget Function(BuildContext context, bool selected)

Builder function for navigation widgets with selection state.

Parameters:

  • context (BuildContext): Build context
  • selected (bool): Whether this item is currently selected

Returns a widget that adapts to selection state.

Implementation

typedef NavigationWidgetBuilder = Widget Function(
    BuildContext context, bool selected);