I was testing the web version of the app, and when i click "Crop", i get the following error
Uncaught (in promise) Error: Unsupported operation: toImage is not supported on the Web at Object.throw_ [as throw] (errors.dart:212) at _engine.SurfaceScene.new.toImage (scene.dart:20) at layer$.OffsetLayer.new.toImage (layer.dart:1208) at toImage.next (<anonymous>) at runBody (async_patch.dart:84) at Object._async [as async] (async_patch.dart:123) at layer$.OffsetLayer.new.toImage (layer.dart:1192) at proxy_box.RenderRepaintBoundary.new.toImage (proxy_box.dart:2960) at ui$.CropController.new.crop (ui.dart:391) at main._MyHomePageState.new._cropImage (main.dart:37) at _cropImage.next (<anonymous>) at runBody (async_patch.dart:84) at Object._async [as async] (async_patch.dart:123) at main._MyHomePageState.new.[_cropImage] (main.dart:35) at ink_well._InkResponseState.new.[_handleTap] (ink_well.dart:993) at ink_well.dart:1111 at tap.TapGestureRecognizer.new.invokeCallback (recognizer.dart:183) at tap.TapGestureRecognizer.new.handleTapUp (tap.dart:598) at tap.TapGestureRecognizer.new.[_checkUp] (tap.dart:287) at tap.TapGestureRecognizer.new.acceptGesture (tap.dart:259) at arena.GestureArenaManager.new.sweep (arena.dart:157) at binding$5.WidgetsFlutterBinding.new.handleEvent (binding.dart:362) at binding$5.WidgetsFlutterBinding.new.dispatchEvent (binding.dart:338) at binding$5.WidgetsFlutterBinding.new.dispatchEvent (binding.dart:267) at binding$5.WidgetsFlutterBinding.new.[_handlePointerEvent] (binding.dart:295) at binding$5.WidgetsFlutterBinding.new.[_flushPointerEventQueue] (binding.dart:240) at binding$5.WidgetsFlutterBinding.new.[_handlePointerDataPacket] (binding.dart:213) at Object._invoke1 (window.dart:773) at _engine.EngineWindow.new.invokeOnPointerDataPacket (window.dart:374) at _engine.PointerBinding.__.[_onPointerData] (pointer_binding.dart:129) at pointer_binding.dart:479 at pointer_binding.dart:440 at pointer_binding.dart:210
I was testing the web version of the app, and when i click "Crop", i get the following error
Uncaught (in promise) Error: Unsupported operation: toImage is not supported on the Web at Object.throw_ [as throw] (errors.dart:212) at _engine.SurfaceScene.new.toImage (scene.dart:20) at layer$.OffsetLayer.new.toImage (layer.dart:1208) at toImage.next (<anonymous>) at runBody (async_patch.dart:84) at Object._async [as async] (async_patch.dart:123) at layer$.OffsetLayer.new.toImage (layer.dart:1192) at proxy_box.RenderRepaintBoundary.new.toImage (proxy_box.dart:2960) at ui$.CropController.new.crop (ui.dart:391) at main._MyHomePageState.new._cropImage (main.dart:37) at _cropImage.next (<anonymous>) at runBody (async_patch.dart:84) at Object._async [as async] (async_patch.dart:123) at main._MyHomePageState.new.[_cropImage] (main.dart:35) at ink_well._InkResponseState.new.[_handleTap] (ink_well.dart:993) at ink_well.dart:1111 at tap.TapGestureRecognizer.new.invokeCallback (recognizer.dart:183) at tap.TapGestureRecognizer.new.handleTapUp (tap.dart:598) at tap.TapGestureRecognizer.new.[_checkUp] (tap.dart:287) at tap.TapGestureRecognizer.new.acceptGesture (tap.dart:259) at arena.GestureArenaManager.new.sweep (arena.dart:157) at binding$5.WidgetsFlutterBinding.new.handleEvent (binding.dart:362) at binding$5.WidgetsFlutterBinding.new.dispatchEvent (binding.dart:338) at binding$5.WidgetsFlutterBinding.new.dispatchEvent (binding.dart:267) at binding$5.WidgetsFlutterBinding.new.[_handlePointerEvent] (binding.dart:295) at binding$5.WidgetsFlutterBinding.new.[_flushPointerEventQueue] (binding.dart:240) at binding$5.WidgetsFlutterBinding.new.[_handlePointerDataPacket] (binding.dart:213) at Object._invoke1 (window.dart:773) at _engine.EngineWindow.new.invokeOnPointerDataPacket (window.dart:374) at _engine.PointerBinding.__.[_onPointerData] (pointer_binding.dart:129) at pointer_binding.dart:479 at pointer_binding.dart:440 at pointer_binding.dart:210