of static method
- @Deprecated('Use `Screen.fromContext` instead. Will be removed in v1.0.0')
- 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(),
);