maybeOf static method

AppAttributes? maybeOf(
  1. BuildContext context
)

Implementation

static AppAttributes? maybeOf(BuildContext context) => context
    .dependOnInheritedWidgetOfExactType<AppAttributesScope>()
    ?.attributes;