Skip to content

Commit

Permalink
Fix #7.
Browse files Browse the repository at this point in the history
  • Loading branch information
deakjahn committed Mar 15, 2022
1 parent d911503 commit 0a8cb04
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ class _MyHomePageState extends State<MyHomePage> {
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(
Expand Down

0 comments on commit 0a8cb04

Please sign in to comment.