A new Flutter package project.
This widget use image_cropper and image_picker packages to open and crop image, to allow photos changed, pass the onPhotoChange
parameter.
If you need to use this feature, you will need to edit the following files.
File: android/app/src/main/AndroidManifest.xml
Add following lines inside the <application>
tag.
<activity
android:name="com.yalantis.ucrop.UCropActivity"
android:screenOrientation="portrait"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"/>
File: ios/Runner/Info.plist
Add following lines inside the <dict>
tag.
<key>NSPhotoLibraryUsageDescription</key>
<string>Example usage description</string>
<key>NSCameraUsageDescription</key>
<string>Example usage description</string>