diff --git a/README.md b/README.md index 65e28c7..71871fd 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ If you want to create an `Image` with additional settings (eg. different `Image. ## Creating a file -If you want to get a file from the ui.Image, this is nothing specific to `crop_image`. Use the existing functions +If you want to save the cropped `ui.Image` to a file, this operation is not specific to this plugin. Use the existing functions of `Image` and `File`: ```dart diff --git a/example/lib/main.dart b/example/lib/main.dart index e7d5f1d..b1807ac 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -31,12 +31,6 @@ class _MyHomePageState extends State { defaultCrop: const Rect.fromLTRB(0.1, 0.1, 0.9, 0.9), ); - @override - void dispose() { - controller.dispose(); - super.dispose(); - } - @override Widget build(BuildContext context) => Scaffold( appBar: AppBar(