changeImage method

void changeImage(
  1. Uint8List image, {
  2. ImageByteFormat? imageByteFormat,
})

Change the image to crop without setState((){}).

Implementation

void changeImage(Uint8List image, {ui.ImageByteFormat? imageByteFormat}) {
  imageNotifier.set(image, imageByteFormat: imageByteFormat);
}