v0.0.13
camera_with_files
ギャラリービューを備えたカメラモジュールを作成します。WhatsAppのカメラモジュールに似ています。
22いいね 6530日間ダウンロード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
),),);