fluttercandies / Flutter_wechat_camera_picker
Licence: mit
A camera picker in WeChat style.
Stars: ✭ 95
Programming Languages
dart
5743 projects
Projects that are alternatives of or similar to Flutter wechat camera picker
Contentmanager
Android library for getting photo or video from a device gallery, cloud or camera. Working with samsung devices. Made by Stfalcon
Stars: ✭ 108 (+13.68%)
Mutual labels: camera, picker
Lassi-Android
All in 1 picker library for android.
Stars: ✭ 108 (+13.68%)
Mutual labels: camera, picker
ProPicker
ProPicker is a file picker (image, video, file) library for Android. It helps you to pick any file and return the result in a convenient way
Stars: ✭ 25 (-73.68%)
Mutual labels: camera, picker
Ypimagepicker
📸 Instagram-like image picker & filters for iOS
Stars: ✭ 3,661 (+3753.68%)
Mutual labels: camera, picker
Rxpaparazzo
RxJava extension for Android to take images using camera and gallery and pick files up
Stars: ✭ 467 (+391.58%)
Mutual labels: camera, picker
android-pickpic
Ready to use library that allows people to select pictures from their device and Facebook account.
Stars: ✭ 12 (-87.37%)
Mutual labels: camera, picker
Flutter photo
Pick image/video from album by flutter. Support ios and android. UI by flutter, no native.
Stars: ✭ 285 (+200%)
Mutual labels: wechat, picker
Flutter wechat assets picker
An assets picker in WeChat style, support multi assets picking.
Stars: ✭ 398 (+318.95%)
Mutual labels: wechat, picker
Picker
Picker - A CameraX based WhatsApp Style Image-Video Picker
Stars: ✭ 69 (-27.37%)
Mutual labels: camera, picker
Tina Hackernews
📺 A Tina.js powered Wechat-Mini-Program implementation of Hacker News Reader
Stars: ✭ 93 (-2.11%)
Mutual labels: wechat
Lcamera
A camera app using the new camera2 API in Android Lollipop
Stars: ✭ 1,298 (+1266.32%)
Mutual labels: camera
Gxgk Wechat Server
校园微信公众号,使用 Python、Flask、Redis、MySQL、Celery [DEPRECATED]
Stars: ✭ 1,325 (+1294.74%)
Mutual labels: wechat
Weixin Java Mp Demo
基于Spring Boot 和 WxJava 实现的微信公众号Java后端Demo,支持多公众号
Stars: ✭ 1,291 (+1258.95%)
Mutual labels: wechat
Flutter WeChat Camera Picker
Language: English | 中文简体
A camera picker which is an extension for wechat_assets_picker. Based on camera
for camera functions and photo_manager
for asset implementation.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Alex Li 💻 🎨 📖 💡 🤔 🚧 💬 👀 |
Caijinglong 💡 🤔 |
Lael 📖 |
mjl0602 💻 🤔 |
AliasWang 💻 🤔 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Category 🗂
Features ✨
- [x] 🔐 Non-nullable by default
- [x] 💚 99% similar to WeChat style
- [x] 📷 Picture taking support
- [x] ☀️ Exposure adjust support
- [x] 🔍️ Scale with pinch support
- [x] 🎥 Video recording support
- [x] ⏱ Duration limitation support
- [x] 🔍 Scale when recording support
- [x] 🖾 Foreground custom widget builder support
Screenshots 📸
Preparing for use 🍭
Version constraints
Flutter SDK: >=2.0.0
.
Setup
Usage 📖
Name | Type | Description | Default Value |
---|---|---|---|
enableRecording | bool |
Whether the picker can record video. | false |
onlyEnableRecording | bool |
Whether the picker can only record video. Only available when enableRecording is true . |
false |
enableAudio | bool |
Whether Whether the picker should record audio. Only available with recording. | true |
enableSetExposure | bool |
Whether users can set the exposure point by tapping. | true |
enableExposureControlOnPoint | bool |
Whether users can adjust exposure according to the set point. | true |
enablePinchToZoom | bool |
Whether users can zoom the camera by pinch. | true |
enablePullToZoomInRecord | bool |
Whether users can zoom by pulling up when recording video. | true |
shouldDeletePreviewFile | bool |
Whether the preview file will be delete when pop. | false |
shouldLockPortrait | bool |
Whether the orientation should be set to portrait | true |
maximumRecordingDuration | Duration |
The maximum duration of the video recording process. | const Duration(seconds: 15) |
theme | ThemeData? |
Theme data for the picker. | CameraPicker.themeData(C.themeColor) |
textDelegate | CameraPickerTextDelegate? |
Text delegate that controls text in widgets. | DefaultCameraPickerTextDelegate |
resolutionPreset | ResolutionPreset |
Present resolution for the camera. | ResolutionPreset.max |
cameraQuarterTurns | int |
The number of clockwise quarter turns the camera view should be rotated. | 0 |
imageFormatGroup | ImageFormatGroup |
Describes the output of the raw image format. | ImageFormatGroup.jpeg |
foregroundBuilder | Widget Function(CameraValue)? |
The foreground widget builder which will cover the whole camera preview. | null |
Simple usage
final AssetEntity? entity = await CameraPicker.pickFromCamera(context);
Frequent asked question 💭
shouldLockPortrait
set to false?
Why there are over-scaled issue when Currently the rotate synchronization is not supported.
The DeviceOrientation
from the CameraValue
is different from the one
comes from flutter when the user is rotating devices.
The preview widget is synchronized when both orientation is the same.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].