of static method

OriginScope of(
  1. BuildContext context
)

Implementation

static OriginScope of(BuildContext context) {
  final scope = context.getInheritedWidgetOfExactType<OriginScope>();
  assert(scope != null, 'No OriginDisplay found above this widget.');
  return scope!;
}