A camera picker in WeChat style.

Overview

Flutter WeChat Camera Picker

pub package pub package GitHub stars GitHub forks Build status CodeFactor GitHub license FlutterCandies

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.

Category 🗂

Features

  • 🔐 Non-nullable by default
  • 💚 99% similar to WeChat style
  • 📷 Picture taking support
    • ☀️ Exposure adjust support
    • 🔍️ Scale with pinch support
  • 🎥 Video recording support
    • Duration limitation support
    • 🔍 Scale when recording support
  • 🖾 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
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.unknown
foregroundBuilder Widget Function(CameraValue)? The foreground widget builder which will cover the whole camera preview. null
onEntitySaving EntitySaveCallback? The callback type define for saving entity in the viewer. null
onError CameraErrorHandler? The error handler when any error occurred during the picking process. null

Simple usage

final AssetEntity? entity = await CameraPicker.pickFromCamera(context);

Frequently asked question 💭

Why the orientation behavior is strange on iOS?

Currently, the preview is not correctly synced on the iOS. You can find more details in this issue: https://github.com/flutter/flutter/issues/89216 . Other than that, please submit issues to describe your question.

Contributors

Thank 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!

Comments
  • Hey! I have an issue with saving captured images through camera.

    Hey! I have an issue with saving captured images through camera.

    I am using this plugin with wechat asset picker. But when I tried older versions of both plugins I could not take a photo, but could record a video. But this time when I upgraded these two plugins I can take a photo but cannot save it while pressing green button, but when I go back to the home page and return to the image picking screens there appear my taken photos. I think this bug is about navigations. But one more bug is I cant take a video properly. The circular duration line sometimes working but sometimes not. wechat_assets_picker: ^4.2.2 wechat_camera_picker: ^2.0.0-dev.1 My flutter doctor and others are OK. But one more question. Is it possible to make minsdkversion decrease till 16?

    i: lack of information 
    opened by SaloxiddinTursunaliev 27
  • Interactive improvements

    Interactive improvements

    Thanks for this great package!

    I have a few suggestions for you to make this package better:

    1. Add the option to zoom (pinch to zoom).
    2. Double tap to switch cameras (front to back and vice versa).
    3. Add masks to the camera view (square mask or circle mask).

    That is all, Thanks again!

    await response s: feature e: goal r: camera s: UI release candidate 
    opened by naamapps 20
  • [BUG] `setZoomLevel` throws and fail the capture session on Android

    [BUG] `setZoomLevel` throws and fail the capture session on Android

    Describe the bug

    调用相机录制安卓端白屏ios端闪退 How to reproduce

    final AssetEntity? entity = await CameraPicker.pickFromCamera( Get.context!, pickerConfig: CameraPickerConfig( enableRecording: true, onlyEnableRecording: false, maximumRecordingDuration: const Duration(seconds: 60) ), ); Steps to reproduce the behavior:

    1.正常调用相机,进行录制。这是必现问题 2.在安卓端,他的表现行为是白屏,长安开启录屏后控制台报异常。 3.在ios端,首次可以正常使用,没有问题,录制完成再次调用方法进行录制的时候发生闪退

    Expected behavior

    Screenshots (If contains)

    android 长按录制中的错误 image android 长按结束的错误 image ios端表现为闪退,疑似内存过大被系统kill,在控制台看到打开相机的瞬间申请了300+内存

    Version information

    • Device: 任何android与ios
    • OS: 安卓似乎仅安卓8及以下有此问题。ios设备好像都存在这个问题
    • Package Version: ^3.2.0+1
    • Flutter Version: 2.10.5

    Additional context

    s: bug b: third party r: camera i: out of support 
    opened by a1239897580 15
  • Camera Preview Start Up Delay

    Camera Preview Start Up Delay

    Describe the bug Camera preview takes 2x as long as regular camera package to show the preview.

    How to reproduce Call the CameraPicker.pickFromCamera function using any config.

    Steps to reproduce the behavior: Open the wechat camera picker and wait 2+ seconds of black to see actual camera preview

    Expected behavior The camera preview screen to show nearly instantaneously or under 1 second like the Camera package. I noticed some apps grab 1 frame and sometimes blur it until the live preview fully kicks in. perhaps that's their workaround?

    Screenshots (If contains)

    Version information

    • iPhone 12
    • iOS 15.3
    • Package Version: wechat_camera_picker 3.2.0+1
    • Flutter Version: 2.10 and/or 3

    Additional context I don't doubt if there's an unavoidable delay before camera preview appears, but this package in particular takes extra long compared to other camera packages. it may be by design to fade in from black rather than an abruptly appearing video preview, but i think that should be an option.

    Also, if there would be a way to keep the camera preview loaded for instant reveal, that would be useful. Or leave camera preview going for 1-2 seconds after it's use in case you want to flip back open the camera real quick.

    b: third party r: camera i: out of support 
    opened by jtkeyva 10
  • Not able to figure out how to use

    Not able to figure out how to use "onEntitySaving"

    Version information

    Device: honor 8X OS: ANDROID 10 Package Version: v3.0.2 Flutter Version: v2.10.3 I am not able to figure out how to use onentitysaving, I dont want the video to get saved to gallery image

    s: bug ⏳TODAY 
    opened by GauravCalidig 10
  • ✨ Introduce `onXFileCaptured`

    ✨ Introduce `onXFileCaptured`

    Sometimes package users want to customise the behaviour after the video recording stops. In my case, I don't need the default viewer page. My app need a screen that the video preview shows inside a Container. So I added this onStopRecordingVideo parameter in CameraPickerConfig. By default it will be null so this PR will be backward compatible.

    s: feature r: camera ⏳WEEK 
    opened by ZhuBoao 8
  • [BUG] Recording video cause freeze in a moment and the first couple frames are black

    [BUG] Recording video cause freeze in a moment and the first couple frames are black

    The ios recording video has a freeze when you first press and hold the video, and the screen is black after the video is recorded

    device: iphone 6sp/11 etc. os: 14.8 wechat_camera_picker: ^2.5.0 Flutter 2.5.0 • channel stable • https://github.com/flutter/flutter.git Framework • revision 4cc385b4b8 (8 weeks ago) • 2021-09-07 23:01:49 -0700 Engine • revision f0826da7ef Tools • Dart 2.14.0

    i: lack of information p: iOS r: camera ⏳WEEK 
    opened by hrxiang 7
  • [Feature] Multiple Camera handling

    [Feature] Multiple Camera handling

    Is your feature request related to a problem? Tested with iPhone. If you switch camera’s, on first press it shows the front camera. If pressed again, it shows the ultrawide. On third it shows the normal camera.

    As a user, I would expect switching cameras would mean switching from back to front. (And not switching between all possible cameras).

    Describe the solution you'd like The solution Apple camera uses for this. Above the record button: a 0.5 and 1x zoom option.

    2E516898-86DF-4FF4-A780-A536623925C3

    s: UI 
    opened by kareldb 6
  • Custom UI / customUIBuilder

    Custom UI / customUIBuilder

    Version information N/A

    Is your feature request related to a problem?

    No problem, except you can't change the look/feel.

    Describe the solution you'd like

    A way to customize the UI and gestures. Could be as simple as cloning the foregroundBuilder into a customUIBuilder function and having an option to disable the hardcoded baked in UI. A demo theme utilizing all functions such as shootingButton, backButton, flash, switch camera, close etc would be ideal.

    Describe alternatives you've considered

    Forking or hacking at the source code and hardcoding the changes.

    Additional context

    Perhaps this decouples the "WeChat" portion so a new package name like customCameraPicker or something could also work.

    s: feature s: UI e: UX 
    opened by jtkeyva 6
  • [Feature] Add an option to flip selfie camera - so it acts like a mirror.

    [Feature] Add an option to flip selfie camera - so it acts like a mirror.

    Version information

    • Device: Galaxy S21 Ultra
    • OS: Android 12
    • Package Version: 2.6.5
    • Flutter Version: 2.8.1

    Is your feature request related to a problem? Yes, currently the selfie camera is showing the world as if it is like the back camera. For example, if I move my head to the right, the camera preview shows my head moved to the left.

    Describe the solution you'd like The package should have the option to flip the selfie camera, so it would act like a mirror. i.e, if I move the head to the right, the camera will preview my head moved to the right.

    Describe alternatives you've considered Can't think of an alternative.

    Additional context Add a new boolean property shouldFlipFrontCamera to the pickFromCamera function. The new property will be used to make the selfie camera act like a mirror if it is true.

    b: third party s: feature r: camera ⏳TODAY 
    opened by naamapps 6
  • Preload photo / video on capture

    Preload photo / video on capture

    Version information

    • Device: iPhone 11
    • OS: IOS 16.0.0
    • Package Version: 3.6.3

    Is your feature request related to a problem? When a photo or video is captured, there is a short black flash. I assume the photo / video is loading. For example, snapchat loads the caputered media instant without black flash.

    Describe the solution you'd like A possibility to preload the photo / video before navigating to the "viewer" screen.

    s: enhancement e: performance r: photo_manager 
    opened by kareldb 4
  • [BUG] I found that when long pressing to record a video, if the user lets go for a short time, it will cause the camera to have a black screen.

    [BUG] I found that when long pressing to record a video, if the user lets go for a short time, it will cause the camera to have a black screen.

    Describe the bug I found that when long pressing to record a video, if the user lets go for a short time, it will cause the camera to have a black screen.

    How to reproduce No Example

    Steps to reproduce the behavior: When using the long press to record the video, if you let go in a short time, it will cause the camera to have a black screen 使用长按录屏功能时,用户如果短时间内就松手会导致相机黑屏,我自己是录制几百毫秒松手就必现

    Expected behavior I hope that recording the video screen in a short time will not cause the camera to black.

    Screenshots (If contains) 1231670380416_ pic

    Version information

    • Device: [e.g. iPhone X]
    • OS: [e.g. iOS 14.7.1]
    • Package Version: [e.g. 2.4.1]
    • Flutter Version: [e.g. v2.5.0]

    Additional context

    await investigate 
    opened by hujian-jian 0
  • [Feature] Change camera when recording

    [Feature] Change camera when recording

    Is your feature request related to a problem? When the user is recording, changing camera's while double tapping, stops the recording without saving.

    Describe the solution you'd like A possibility to change camera angle when recording video.

    Additional context A must have in a modern app that uses the camera

    s: feature e: goal r: camera 
    opened by kareldb 2
  • [BUG] Failed to record with the maximum resolution on some devices

    [BUG] Failed to record with the maximum resolution on some devices

    Describe the bug

    使用版本wechat_camera_picker: ^3.4.0

    在Xiaomi MI 5X(Android 8.1.0)和Redmi Note4X(Android 7.0)设备上无法正常录制视频,报错:

     Playback error
          com.google.android.exoplayer2.ExoPlaybackException: Source error
            at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:641)
            at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:611)
            at android.os.Handler.dispatchMessage(Handler.java:102)
            at android.os.Looper.loop(Looper.java:176)
            at android.os.HandlerThread.run(HandlerThread.java:65)
         Caused by: com.google.android.exoplayer2.source.UnrecognizedInputFormatException: None of the available extractors (FragmentedMp4Extractor, Mp4Extractor, FlvExtractor, FlacExtractor, WavExtractor, AmrExtractor, PsExtractor, OggExtractor, TsExtractor, MatroskaExtractor, AdtsExtractor, Ac3Extractor, Ac4Extractor, Mp3Extractor, JpegExtractor) could read the stream.
            at com.google.android.exoplayer2.source.BundledExtractorsAdapter.init(BundledExtractorsAdapter.java:92)
            at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1020)
            at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
    
    [CameraPicker - LOG] Error when initializing video controller: PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: Source error, null, null)
    I/flutter (32691): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
    I/flutter (32691): │ #0   LoggerUtil.e (package:open_im_demo/utils/logger.dart:31:13)
    I/flutter (32691): │ #1   main.<anonymous closure> (package:open_im_demo/main.dart:22:18)
    I/flutter (32691): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
    I/flutter (32691): │ ⛔ StackTrace :  #0      handleErrorWithHandler (package:wechat_camera_picker/src/internals/methods.dart:28:3)
    I/flutter (32691): │ ⛔ #1      _CameraPickerViewerState.initializeVideoPlayerController (package:wechat_camera_picker/src/widgets/camera_picker_viewer.dart:173:7)
    I/flutter (32691): │ ⛔ <asynchronous suspension>
    I/flutter (32691): │ ⛔ 
    I/flutter (32691): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
    

    目前,在另一台oppo手机上是可以正常录制视频,怀疑是小米手机或者小米低端机的兼容型问题

    b: third party p: Android r: camera i: out of support 
    opened by JohnsonCYS 9
  • [Feature] Official Arabic support

    [Feature] Official Arabic support

    Version information

    • Device: honor 8X
    • OS: ANDROID 10
    • Package Version: v3.0.2
    • Flutter Version: v2.10.3

    can you support textDelegates in the Arabic language?

    s: feature e: PR welcomed e: localizations 
    opened by mahmoud-atef-eden 3
  • 开 issue 前必读 (Read before create a new issue)

    开 issue 前必读 (Read before create a new issue)

    The issue section is to let users and developers feedback their problem in usage, their request for features, their confusion about the source code and classes. Not a place to make argument, say bad words, ask for a non-sense help, or bring up some off-topic words. So before you fire up a new issue, please think twice that if it's really necessary to do it, or just go check the documentation again.

    Here're the things banned from the repository:

    • Not following the issue template. (close immediately with invalid label)
    • Ask a question which has a clear explanation in document. (close immediately with i: read document label)
    • Ask a question which is not related to the package. (close immediately with invalid (maybe stackoverflow) label)
    • 'reap without sowing' (close immediately with wontfix label)
    • Recommend something under the issue. (ban & lock & close permanently)
    • Insulting anyone (ban & lock & close permanently)
    • (more to add...)

    国内用户请注意

    如果不是严重问题,请直接到 QQ群:181398081 进行提问,快速便捷,长期在线支持。 请 尽量使用英文 提 issue ,原因无他,仅因 GitHub 为国际开源社区,你提的问题很有可能国际友人也有经历。如果你认为仅用英语表达不够完善,可以使用双语补充。 Issue 区是用来反馈使用问题、请求新功能实现、源码讨论的地方,不是用来进行无谓的争吵、爆粗、问无关问题、白嫖的地方。所以在提交新的 issue 前,请三思,如果三思后认为仍然需要开 issue,请继续你的行动,否则请出门左转文档区。

    以下内容将直接处理:

    • 不使用 issue 模板创建 issue、或使用了模板但是没有依照模板内容创建(立刻被关闭并打上 invalid 标签)
    • 问一个文档里已明确说明的问题(立刻被关闭并打上 i: read document 标签)
    • 问与该组件无关的问题(立刻被关闭并打上 invalid(也可能是 stackoverflow )标签)
    • 想白嫖(立刻被关闭并打上 wontfix 标签)
    • 推荐另一个组件(立刻被 永久屏蔽 & 锁定 & 关闭
    • 侮辱任何人(立刻被 永久屏蔽 & 锁定 & 关闭
    • (更多暂时想不起来的事)

    933637000BD236B04928636CD26F8511

    📢EXTRA ATTENTION 
    opened by AlexV525 0
Releases(v3.6.5)
  • v3.6.5(Dec 5, 2022)

    What's Changed

    • 🐛 Correct sizes when using cameraQuarterTurns by @AlexV525 in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/149

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.6.4...v3.6.5

    Source code(tar.gz)
    Source code(zip)
  • v3.6.4(Dec 2, 2022)

    What's Changed

    • 🚸 Precache captured image for better experience by @AlexV525 in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/145
    • 🚸 Improve stop capturing experiences by @AlexV525 in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/146

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.6.3...v3.6.4

    Source code(tar.gz)
    Source code(zip)
  • v3.6.3(Oct 21, 2022)

    What's Changed

    • 🔖 Bump photo_manager to explicitly remove the requirements of requiredLegacyExternalStorage by @AlexV525 in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/139
    • ✨ Add the loading indicator when saving by @AlexV525 in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/140

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.6.1...v3.6.3

    Source code(tar.gz)
    Source code(zip)
  • v3.6.1(Sep 28, 2022)

    What's Changed

    • ✨ Add torch flashlight support by @AlexV525 in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/137

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.6.0...v3.6.1

    Source code(tar.gz)
    Source code(zip)
  • v3.6.0(Sep 19, 2022)

    What's Changed

    New features

    • Upgrade camera to 0.10.x. (#133)
    • Upgrade photo_maanger for Android 13. (#133)

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.5.0...v3.6.0

    Source code(tar.gz)
    Source code(zip)
  • v3.5.0+1(Aug 14, 2022)

    What's Changed

    • 🚑️ Fix the too early widget access in CameraPickerState by @AlexV525 in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/124

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.5.0...v3.5.0+1

    Source code(tar.gz)
    Source code(zip)
  • v3.5.0(Aug 13, 2022)

    What's Changed

    New features

    • Support customized UI by overriding States. (#113)

    Improvements

    • Expose multiple internal widgets. (#113)
    • Re-export CameraPicker's constructor. (#116)
    • Avoid duplicate entity saving. (#117)
    • Prevent switching cameras when taking picture or recording video. (#120)

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.4.0...v3.5.0

    Source code(tar.gz)
    Source code(zip)
  • v3.4.0(Jun 24, 2022)

    What's Changed

    Breaking Changes

    • Allow the foreground builder to be used all the time (#97). The signature of the ForegroundBuilder has changed but can be easily migrated.

    New features

    • Add enableScaledPreview. (#108)

    Improvements

    • Catch more errors with the handler. (#110)
    • Improve tapping exposure updates. (#109)
    • Prevent unnecessary zoom updates. (#107)
    • Allow text delegates to be obtained by Locale. (#99)

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.2.0...v3.4.0

    Source code(tar.gz)
    Source code(zip)
  • v3.2.0+1(May 13, 2022)

    What's Changed

    • 🚀 Support Flutter 3.

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.1.0...v3.2.0+1

    Source code(tar.gz)
    Source code(zip)
  • v3.2.0-dev.1(May 11, 2022)

    What's Changed

    Migrate to Flutter 2.13, and drop supports for older Flutter versions.

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.1.0...v3.2.0-dev.1

    Source code(tar.gz)
    Source code(zip)
  • v3.1.0(Apr 21, 2022)

    What's Changed

    New features

    • Introduce onXFileCaptured by @ZhuBoao in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/87

    New Contributors

    • @ZhuBoao made their first contribution in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/87

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.0.4...v3.1.0

    Source code(tar.gz)
    Source code(zip)
  • v3.0.4(Mar 29, 2022)

    What's Changed

    Fixes

    • Unify the method to push to the viewer by @AlexV525 in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/86

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.0.3...v3.0.4

    Source code(tar.gz)
    Source code(zip)
  • v3.0.3(Mar 29, 2022)

    What's Changed

    Fixes

    • Correct arguments of EntitySaveCallback by @AlexV525 in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/85

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.0.2...v3.0.3

    Source code(tar.gz)
    Source code(zip)
  • v3.0.2(Mar 22, 2022)

    Improvements

    • Export enums and typedefs.

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.0.1...v3.0.2

    Source code(tar.gz)
    Source code(zip)
  • v3.0.1(Mar 14, 2022)

    Fixes

    • Remove redundant dispose with the controller.

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.0.0...v3.0.1

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0(Mar 7, 2022)

    New features

    • Add full semantics support. (#72)
    • Add lockCaptureOrientation, allowing users to determine lock to the specific orientation during captures. (#68)
    • Export CameraPickerPageRoute.
    • Abstract CamearPickerConfig, which moved all arguments from pickFromCamera to pickerConfig.

    Improvements

    • Improve camera initializes by adding a lock.
    • Tweak asynchronous methods call during initializations.
    • Make camera controllers available as soon as possible.

    Fixes

    • Fix scaling issues with turns and orientations.
    • Fix lint issues on Flutter 2.10.
    Source code(tar.gz)
    Source code(zip)
  • v3.0.0-dev.4(Feb 14, 2022)

    What's Changed

    • Fix scaling issues with turns and orientations.
    • Fix lint issues on Flutter 2.10.
    • Export CameraPickerPageRoute.

    Breaking changes:

    • Abstract CamearPickerConfig, which moved all arguments from pickFromCamera to pickerConfig.

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.0.0-dev.3...v3.0.0-dev.4

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0-dev.3(Jan 24, 2022)

    What's Changed

    • Improve semantics expressions.
    • Make camera controllers available as soon as possible.

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.0.0-dev.2...v3.0.0-dev.3

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0-dev.2(Jan 23, 2022)

    What's Changed

    • Add lockCaptureOrientation, allowing users to determine lock to the specific orientation during captures. (#68)
    • Tweak asynchronous methods call during initializations.
    • Add full semantics support. (#72)
    • Improve camera initializes by adding a lock.

    New Contributors

    • @TheVinhLuong made their first contribution in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/68

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v3.0.0-dev.1...v3.0.0-dev.2

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0-dev.1(Jan 17, 2022)

  • v2.6.5(Jan 17, 2022)

    What's Changed

    • 🔖 Remove duplicate future requests when saving entity by @AlexV525

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v2.6.4...v2.6.5

    Source code(tar.gz)
    Source code(zip)
  • v2.6.4(Jan 14, 2022)

    What's Changed

    • 🐛 Drop initialize when the controller has been already initialized by @AlexV525 in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/70

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v2.6.3...v2.6.4

    Source code(tar.gz)
    Source code(zip)
  • v2.6.3(Dec 24, 2021)

    What's Changed

    • 🚑️ Fix set exposure point crashes when switching between cameras by @leftcoding in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/66

    New Contributors

    • @leftcoding made their first contribution in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/66

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v2.6.2...v2.6.3

    Source code(tar.gz)
    Source code(zip)
  • v2.6.2(Dec 9, 2021)

    What's Changed

    • 🎨 Bind circular progress color with the theme.
    • ⚡️ Improve the scaling calculate for the camera preview by @AlexV525 in https://github.com/fluttercandies/flutter_wechat_camera_picker/pull/62

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v2.6.1...v2.6.2

    Source code(tar.gz)
    Source code(zip)
  • v2.6.1(Nov 22, 2021)

    • Allow saving entities when the permission is limited on iOS.

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v2.6.0...v2.6.1

    Source code(tar.gz)
    Source code(zip)
  • v2.6.0(Nov 14, 2021)

    • Add preferredLensDirection, allow users to choose which lens direction is preferred when first using the camera.
    • Add enableTapRecording, allow users to determine whether to allow the record can start with single tap.
    • Add shouldAutoPreviewVideo, allow users to determine whether the video should be played instantly in the preview.

    Full Changelog: https://github.com/fluttercandies/flutter_wechat_camera_picker/compare/v2.5.1...v2.6.0

    Source code(tar.gz)
    Source code(zip)
  • v2.5.1(Nov 11, 2021)

  • v2.5.0(Oct 12, 2021)

    • Add onError to handle errors during the picking process.
    • SaveEntityCallback -> EntitySaveCallback.
    • Improve folder structure of the plugin.
    Source code(tar.gz)
    Source code(zip)
  • v2.4.2(Sep 16, 2021)

  • v2.4.1(Sep 3, 2021)

Owner
FlutterCandies
Custom Flutter candies (packages) for you to build your Flutter app easily. Enjoy it!
FlutterCandies
Similar to Weibo dynamics, WeChat circle of friends, nine grid view controls to display pictures. Support single big picture preview.

Similar to Weibo dynamics, WeChat circle of friends, nine grid view controls to display pictures. Support single big picture preview.

Flutter中国开源项目 296 Dec 28, 2022
The flutter_otp_text_field package for flutter is a TextField widget that allows you to display different style pin.

flutter_otp_text_field flutter_otp_text_field The flutter_otp_text_field package for flutter is a TextField widget that allows you to display differen

David-Legend 30 Nov 8, 2022
Helps to turn some popular widgets into Neumorphism style

Helps to turn some popular widgets into Neumorphism style. Features NeumorphicCard: a card with Neumorphism look and feel NeumorphicButton: implements

MinhHo 6 Jun 27, 2022
Cupertino_lists - an implementation of iOS-style lists (grouped and inset grouped).

cupertino_lists cupertino_lists is an implementation of iOS-style lists (grouped and inset grouped). Warning: This package probably will not be mainta

null 13 Nov 3, 2022
A flutter horizontal date picker that always shift the selected date to center.

horizontal_center_date_picker A flutter widget provides a horizontal date picker and always aligns selected date in center of the widget. Usage This s

May Lau 5 Jul 2, 2022
A flutter package for displaying common picker dialogs.

Flutter Material Pickers A flutter package containing commonly used material design picker dialogs. Some are new, some wrap existing or built in picke

CodeGrue 89 Jan 2, 2023
A time picker widget for flutter

time_picker A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if t

Ramon Alex 4 Dec 3, 2022
starlight_country_picker is a country picker.

Starlight Country Picker starlight_country_picker is a country picker. Features ☑️ Add New Country ☑️ Search Your Country ⭐ Our package was not used s

Ye Myo Aung 1 Nov 29, 2021
Flutter picker plugin

flutter_picker Flutter plugin picker. Include NumberPicker, DateTimePicker, ArrayPicker, and default linkage Picker. Provide flexible parameters to me

null 614 Dec 23, 2022
Ejimo - Comprehensive emoji and symbol picker.

Ejimo Find and copy unicode characters, emoticons, glyphs and symbols with Ejimo. Ejimo is a comprehensive emoji and symbol piker that puts every char

null 20 Dec 19, 2022
A Flutter Country Picker Widget with support to country dialing codes

flutter_country_picker A Flutter Country Picker Widget with support to country dialing codes Usage Add the CountryPicker widget in your layout and use

Alessandro Biessek 49 Apr 6, 2022
A beautiful circle color picker for flutter.

A beautiful circle color picker for flutter.

Takeshi Tsukamoto 46 Dec 29, 2022
Flutter Number Picker is a custom widget designed for choosing an integer or decimal number by using add and minus buttons

Flutter Number Picker is a custom widget designed for choosing an integer or decimal number by using add and minus buttons. Getting Started Head to /p

Vũ Phương 2 Jul 4, 2022
Flutter Color Picker Wheel - an easy to use widget which can be heavily customized

Flutter Color Picker Wheel Flutter Color Picker Wheel is an easy to use widget which can be heavily customized. You can use the WheelColorPicker direc

Kexin Lu 35 Oct 4, 2022
A Highly customizable Phone input Flutter widget that supports country code, validation and contact picker.

A Highly customizable Phone input Flutter widget that supports country code, validation and contact picker.

null 6 Jun 7, 2022
Flutter WeChat Camera Picker

Flutter WeChat Camera Picker Language: English | 中文简体 A camera picker which is an extension for wechat_assets_picker. Based on camera for camera funct

null 1 Nov 14, 2021
An assets picker in WeChat style, support multi assets picking.

An assets picker in WeChat style, support multi assets picking.

FlutterCandies 1.1k Dec 30, 2022
An assets picker in WeChat style, support multi assets picking.

An assets picker in WeChat style, support multi assets picking.

FlutterCandies 1.1k Jan 8, 2023
Nepali date picker - Material Style Date Picker with Bikram Sambat(Nepali) Calendar Support

Nepali Date Picker + Calendar Material and Cupertino Styled Date Picker, Date Range Picker and Calendar with Bikram Sambat(Nepali) Support. Nepali Dat

Sarbagya Dhaubanjar 35 Jan 3, 2023
A full-fledged camera app built with Flutter using the camera package.

Flutter Camera Demo A full-fledged camera app built with Flutter using the camera package. You can even add custom features to this app and customize

NguyenHoangDuc 5 Nov 23, 2022