v0.0.13
camera_with_files
创建一个带有相册视图的相机模块。其外观类似于 WhatsApp 相机模块。
22喜欢 65近 30 天下载110Pub 分数
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.1以下为英文项目原文快照,最新内容请访问 GitHub。
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
),),);