Skip to content

Commit 8bbf9f2

Browse files
reset image
1 parent 16541ba commit 8bbf9f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/lib/main.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ class _MyHomePageState extends State<MyHomePage> {
101101
Expanded(
102102
child: CustomImageCrop(
103103
cropController: controller,
104-
image: const AssetImage('assets/test2.png'), // Any Imageprovider will work, try with a NetworkImage for example...
105-
// image: const NetworkImage('https://upload.wikimedia.org/wikipedia/en/7/7d/Lenna_%28test_image%29.png'),
104+
// image: const AssetImage('assets/test.png'), // Any Imageprovider will work, try with a NetworkImage for example...
105+
image: const NetworkImage('https://upload.wikimedia.org/wikipedia/en/7/7d/Lenna_%28test_image%29.png'),
106106
shape: _currentShape,
107107
ratio: _currentShape == CustomCropShape.Ratio ? Ratio(width: _width, height: _height) : null,
108108
canRotate: true,

0 commit comments

Comments
 (0)