Currently croppy supports a Material (Google Photos-like) and a Cupertino (iOS Photos-like) image croppers:
final result = awaitshowAdaptiveImageCropper(
context,
imageProvider: constNetworkImage('MY_IMAGE_URL'), // Or any other image provider
);
final result = awaitshowMaterialImageCropper(
context,
imageProvider: constNetworkImage('MY_IMAGE_URL'), // Or any other image provider
);
final result = awaitshowCupertinoImageCropper(
context,
imageProvider: constNetworkImage('MY_IMAGE_URL'), // Or any other image provider
);
Voilà! You can now start cropping images.
For a complete runnable example, see ./example. For the full in-depth documentation, including customization, see the documentation.
Localization
croppy currently supports the following languages:
English
Kazakh
Russian
Arabic (thanks @Milad-Akarie)
Vietnamese (thanks @ptanhVNU)
Portuguese (thanks @JCKodel)
Spanish (thanks @Thesergiolg99)
Chinese (thanks @yohom and @zhushenwudi)
Hebrew (thanks @kfiross)
German (thanks @jkoenig134)
Persian (thanks @mdpe-ir)
Turkish (thanks @BayramYARIM)
Polish (thanks @mekkolodziejski)
Romanian (thanks @AdrianSima)
Kyrgyz (thanks @warioddly)
If there's a language that you would like to add, please see the localization guide.
It's recommended to insert the CroppyLocalizations.delegate in your MaterialApp or CupertinoApp: