flutter image editor code example
Example: flutter image editor
Future<void> getimageditor() {
final geteditimage = Navigator.push(context, MaterialPageRoute(
builder: (context){
return ImageEditorPro(
appBarColor: Colors.blue,
bottomBarColor: Colors.blue,
);
}
)).then((geteditimage){
if(geteditimage != null){
setState(() {
_image = geteditimage;
});
}
}).catchError((er){print(er);});
}