of static method

Implementation

static PhotoViewGestureDetectorScope? of(BuildContext context) {
  final PhotoViewGestureDetectorScope? scope = context
      .dependOnInheritedWidgetOfExactType<PhotoViewGestureDetectorScope>();
  return scope;
}