FLUTTER ECOSYSTEM

safdher/camera_with_files

safdher/camera_with_files open-source repository details.

camera_with_files 專案封面
Stars
5
Forks
5
最近推送(UTC)
2023年2月27日
專案狀態
未封存
Safdher Sahai GitHub avatar
GITHUB User

Safdher Sahai ↗

I'm a passionate programmer with a love for Flutter and four years of experience in mobile app development. I'm always looking to learn new things and expand my

語言DartHTMLSwiftKotlinObjective-C

此儲存庫發佈的套件

使用的依賴

依賴清單 12 項

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

Camera with image picker

Whatsapp like UI

N|Solid

Camera with image picker works on android, ios and Web.

  • Multiple image selection.
  • optional single image selection.
  • camera switching
  • flash light

Usage

Navigate to the camerApp page and after selecting image or taking photo from camera will return the selected list of files

For Multiple image selection

List<File> data = await Navigator.of(context).push(MaterialPageRoute<List<File>>(
builder:(BuildContext context)=> const CameraApp(
//multiple image selection flag
isMultiple :true
),),);

For Single image selection

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