of static method

  1. @Deprecated('Use `Screen.fromContext` instead. Will be removed in v1.0.0')
Screen of(
  1. BuildContext context
)

Implementation

@Deprecated('Use `Screen.fromContext` instead. Will be removed in v1.0.0')
static Screen of(BuildContext context) => Screen._(
      mediaQueryData: MediaQuery.of(context),
      breakpointData: Breakpoint.of(context) ?? const BreakpointData(),
    );