wechat_camera_picker 1.3.0 copy "wechat_camera_picker: ^1.3.0" to clipboard
wechat_camera_picker: ^1.3.0 copied to clipboard

outdated

A camera picker which is an extension to wechat_assets_picker, but can be run separately.

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.

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 ✨ #

  • 💚 99% simillar to WeChat style.
  • 📷 Picture taking support
  • 🎥 Video recording support
    • ⏱ Duration limitation support

Screenshots 📸 #

Preparing for use 🍭 #

Reference:

Usage 📖 #

Name Type Description Default Value
isAllowRecording bool Whether the picker can record video. false
isOnlyAllowRecording bool Whether the picker can only record video. Only available when isAllowRecording is true . false
enableAudio bool Whether Whether the picker should record audio. Only available with recording. 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

Simple usage #

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

After called and the picker displayed, plus isAllowRecording is true, tap the shooting button to take a picture, long press the shooting button to record a video.

221
likes
0
pub points
97%
popularity

Publisher

verified publisherfluttercandies.com

A camera picker which is an extension to wechat_assets_picker, but can be run separately.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

camera, device_info, flutter, path_provider, photo_manager, video_player

More

Packages that depend on wechat_camera_picker