of static method

Implementation

static AppScreenState of(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<_AppScreenInherited>()!
      .data;
}