of static method

Implementation

static ImageEditorState? of(BuildContext context) {
  return context.findAncestorStateOfType<ImageEditorState>();
}