maybeOf static method

LedgerAccount? maybeOf(
  1. BuildContext context
)

The account in force at context; null when the app publishes none, and the bars then draw no bell or avatar.

Implementation

static LedgerAccount? maybeOf(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<LedgerAccountScope>()?.account;