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
),),);