# build method

1. @override

Widget build(

1. BuildContext context,
2. bool selected,
3. VoidCallback? onPressed,
4. {PaneDisplayMode? displayMode,
5. bool showTextOnTop = true,
6. bool? autofocus,
7. int? itemIndex}

)
override

Used to construct the pane items all around NavigationView. You can customize how the pane items should look like by overriding this method

## Implementation

    @override
    Widget build(
      BuildContext context,
      bool selected,
      VoidCallback? onPressed, {
      PaneDisplayMode? displayMode,
      bool showTextOnTop = true,
      bool? autofocus,
      int? itemIndex,
    }) {
      return Link(
        uri: Uri.parse(link),
        builder: (context, followLink) => super.build(
          context,
          selected,
          followLink,
          displayMode: displayMode,
          showTextOnTop: showTextOnTop,
          itemIndex: itemIndex,
          autofocus: autofocus,
        ),
      );
    }