v0.0.3image_editor_dove
क्रॉप, स्क्रिबल, मोज़ाइक, टेक्स्ट जोड़ने, फ्लिप, घुमाए कार्यों वाला एक छवि संपादक।
क्रॉप, स्क्रिबल, मोज़ाइक, टेक्स्ट जोड़ने, फ्लिप, घुमाए कार्यों वाला एक छवि संपादक।
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A high-performance image editor with crop, scribble, mosaic, add-text, flip, rotated functions.
Support custom ui style.
First, add image_editor: as a dependency in your pubspec.yaml file.
import
import 'package:image_editor/flutter_image_editor.dart';
iOS Add the following keys to your Info.plist file, located in /ios/Runner/Info.plist:
<key>NSPhotoLibraryUsageDescription</key>
<string>Used to demonstrate image picker plugin</string>
<key>NSCameraUsageDescription</key>
<string>Used to demonstrate image picker plugin</string>
<key>NSMicrophoneUsageDescription</key>
<string>Used to capture audio for image picker plugin</string>
Android
No configuration required - the plugin should work out of the box.
pick an image that wanna edit, and pass it to image editor like this:
Future<void> toImageEditor(File origin) async {
return Navigator.push(context, MaterialPageRoute(builder: (context) {
return ImageEditor(
originImage: origin,
//this is nullable, you can custom new file's save postion
savePath: customDirectory
);
})).then((result) {
if (result is EditorImageResult) {
setState(() {
_image = result.newFile;
});
}
}).catchError((er) {
debugPrint(er);
});
}
You can extends ImageEditorDelegate and custom editor's widget:
ImageEditor.uiDelegate = YouUiDelegate();
class YouUiDelegate extends ImageEditorDelegate{
...
}
निर्भरता सूची 5 आइटम
{"sdk":"flutter"}^2.1.1^3.0.0^2.1.0{"sdk":"flutter"}उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗