v0.0.13
camera_with_files
Make a Camera Module With Gallery View. Its Looks Like whatsapp Camera Module.
22Likes 6530-day downloads110Pub points
AndroidiOS
safdher/camera_with_files open-source repository details.
{"sdk":"flutter"}^1.1.1^10.2.0^1.7.1^0.10.3+1^2.0.1^0.8.5^1.1.0^0.18.0^2.0.9{"sdk":"flutter"}^2.0.1English project snapshot. Visit GitHub for the latest content.
Camera with image picker works on android, ios and Web.
Navigate to the camerApp page and after selecting image or taking photo from camera will return the selected list of files
List<File> data = await Navigator.of(context).push(MaterialPageRoute<List<File>>(
builder:(BuildContext context)=> const CameraApp(
//multiple image selection flag
isMultiple :true
),),);
data[0] will contain the file.
List<File> data = await Navigator.of(context).push(MaterialPageRoute<List<File>>(
builder:(BuildContext context)=> const CameraApp(
//multiple image selection flag
isMultiple :false
),),);