maybeOf static method

List<Widget>? maybeOf(
  1. BuildContext context
)

The shell's destinations over context; null outside the frame.

Implementation

static List<Widget>? maybeOf(BuildContext context) => context
    .dependOnInheritedWidgetOfExactType<LedgerShellDestinations>()
    ?.destinations;