maybeOf static method

GlobalSettings? maybeOf(
  1. BuildContext context
)

Implementation

static GlobalSettings? maybeOf(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<GlobalSettings>();
}