FLUTTER ECOSYSTEM

welitonsousa/whatsapp_camera

이것은 파일 목록과 함께 카메라를 사용하기 위한 플러터 패키지입니다.

whatsapp_camera 프로젝트 이미지
Stars
4
Forks
9
최근 푸시(UTC)
2022. 10. 23.
프로젝트 상태
활성
Weliton Sousa GitHub avatar
GITHUB User

Weliton Sousa ↗

Sou desenvolvedor apaixonado por descobrir novas tecnologias. Gosto principalmente do desenvolvimento mobile, mas as tecs web e backend estão em dia 😉

FastzapPicos Piauí
언어DartRubySwiftKotlinObjective-C

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 9 개

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

whatsapp_camera

This is a package to open a camera along with a photo gallery, to simplify the steps of the end user

It also has a widget for viewing images

how to use

Open camera:

List<File>? res = await Navigator.push(
  context, MaterialPageRoute(
    builder: (context) => const WhatsappCamera(),
  ),
);

Open image:

Navigator.push(
  context, MaterialPageRoute(
    builder: (context) => const ViewImage(
      image: 'https://...', 
      imageType: ImageType.network,
    ),
  ),
);

https://github.com/welitonsousa/whatsapp_camera/blob/main/assets/example.gif?raw=true


Android

add permissions:
file: /android/app/main/AndroidManifest.xml

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<application
  android:requestLegacyExternalStorage="true"
  ...

file: android/app/build.gradle

minSdkVersion 21
compileSdkVersion 33

ios

file: /ios/Runner/Info.plist

<key>NSCameraUsageDescription</key>
<string>Can I use the camera please?</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Used to demonstrate image picker plugin</string>

LICENSE



Feito com ❤️ by Weliton Sousa