of static method

double of(
  1. BuildContext context
)

The sidebar'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<LedgerSideInset>()?.inset ?? 0;