Image Editor App (#75)

* added image editor

* package update
This commit is contained in:
Gourav Sarkar
2021-07-26 00:26:09 +05:30
committed by GitHub
parent abd78777a6
commit 48f14caf15
70 changed files with 1657 additions and 1 deletions

View File

@ -0,0 +1,15 @@
import 'package:image_picker/image_picker.dart';
import 'dart:io';
GetiImg(_image)async{
var pickedFile=await ImagePicker().getImage(source: ImageSource.gallery);
if(pickedFile!=null){
_image=File(pickedFile.path);
return _image;
}
else{
return null;
}
}