of static method

double of(
  1. BuildContext context
)

The nav pane's reach over context's page: 0 off the desktop, in a sheet, or outside a shell.

Implementation

static double of(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<Fluent2SideInset>()?.inset ??
    0;