of static method

ImgCropState? of(
  1. BuildContext context
)

Implementation

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