Ein Kamerawähler für Flutter-Projekte basierend auf der WeChat-Oberfläche, der auch eine eigenständige ausführbare Erweiterung des wechat_assets_picker ist.
Aus öffentlichen Paketdaten erstellte Orientierung.
Ein Flutter-Paket, das eine Kamera-Auswahl-Schnittstelle bereitstellt, die von WeChats Design inspiriert ist und eine nahtlose und vertraute Erfahrung beim Aufnehmen von Fotos und Videos bietet. Es fungiert als eigenständige Erweiterung für wechat_assets_picker und ermöglicht Entwicklern, eine ansprechende Kamerabenutzeroberfläche mit minimalem Aufwand in ihre Apps zu integrieren. Der Picker unterstützt sowohl Android als auch iOS und gewährleistet konsistentes Verhalten über Geräte hinweg. Ideal für Apps, die intuitive Medienaufnahme-Workflows erfordern.
Anwendungsfälle
Integration einer WeChat-artigen Kamera-Oberfläche
Schnelle Foto- und Videofunktion aktivieren
Soziale Medien- oder Messaging-Apps erstellen
Verbesserung der Benutzererfahrung in medienintensiven Anwendungen
Erstellen benutzerdefinierter Kamerabewegungen innerhalb bestehender Asset-Auswahlwerkzeuge
A camera picker for Flutter projects based on WeChat's UI,
which is also a separate runnable extension to the
wechat_assets_picker.
The current WeChat version that UI is based on: 8.0.49.
UI designs will be updated at any time following the WeChat update.
See the Migration Guide to learn how to migrate between breaking changes.
Versions compatibility
The package only guarantees that it will work on the stable version of Flutter.
We won't update it in real-time to align with other channels of Flutter.
3.3.0
3.16.0
3.22.0
4.4.0+
❌
✅
✅
4.2.0+
❌
✅
❌
4.0.0+
✅
❌
❌
Package credits
The package is built from these wonderful packages.
Their implementation should be relatively stable in the package.
If you've found any issues related to them when using the picker,
submit issues to our issue tracker first.
♿ Complete a11y support with TalkBack and VoiceOver
♻️ Fully implementable with States override
🎏 Fully customizable theme based on ThemeData
💚 Completely WeChat style (even more)
⚡️ Adjustable performance with different configurations
📷 Picture capturing support
🎥 Video recording support
⏱ Duration limitation support
🔍 Scale when recording support
☀️ Exposure adjust support
🔍️ Scale with pinch support
💱 i18n support
⏪ RTL language support
🖾 Foreground custom widget builder support
🕹️ Intercept saving with a custom process
Screenshots 📸
READ THIS FIRST ‼️
Be aware of the below notices before you start anything:
Due to understanding the differences and limitations of a single document,
documents will not cover all the contents.
If you find nothing related to your expected features and cannot understand about concepts,
run the example project and check every option first.
It has covered 90% of regular requests with the package.
The package deeply integrates with the photo_manager plugin,
make sure you understand these two concepts as much as possible:
When using NSPhotoLibraryAddUsageDescription on iOS,
it requires using onEntitySaving or onXFileCaptured to handle the captured file,
an AssetEntity is not available in this circumstance,
obtaining that asset with its ID will lead to a crash.
When you're picking assets, the package will obtain the Locale?
from your BuildContext, and return the corresponding text delegate
of the current language.
Make sure you have a valid Locale in your widget tree that can be accessed
from the BuildContext. Otherwise, the default Chinese delegate will be used.
Embedded text delegates languages are:
简体中文 (default)
English
Tiếng Việt
If you want to use a custom/fixed text delegate, pass it through the
CameraPickerConfig.textDelegate.
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 ✨
Thanks goes to these wonderful people (emoji key):