ExtendedImageEditor constructor

ExtendedImageEditor({
  1. required ExtendedImageState extendedImageState,
  2. Key? key,
})

Implementation

ExtendedImageEditor({required this.extendedImageState, Key? key})
    : assert(extendedImageState.imageWidget.fit == BoxFit.contain,
          'Make sure the image is all painted to crop,the fit of image must be BoxFit.contain'),
      assert(extendedImageState.imageWidget.image is ExtendedImageProvider,
          'Make sure the image provider is ExtendedImageProvider, we will get raw image data from it'),
      super(key: key);