of static method

Implementation

static ScreenAdaptationScope of(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType()!;