of static method

double of(
  1. BuildContext context
)

Implementation

static double of(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<ScaledWidgetProvider>()!
      .scale;
}