cupertino_color_picker 0.2.0
cupertino_color_picker: ^0.2.0 copied to clipboard
Flutter plugin that provides access to iOS native UIColorPickerViewController and UIColorWell.
0.2.0 #
New Features #
- Added
CupertinoColorPickerButton
widget that uses the native iOSUIColorWell
. - Updated documentation with examples for the new button component.
0.1.2 #
- Fixed issue where
onChanged
callback was not triggered whenUIColorPickerViewController
was first opened.
0.1.1 #
- Lowered minimum Dart SDK requirement to 3.0.0 (from 3.8.0) for wider compatibility.
- Updated minimum Flutter version to 3.10.0 to align with Dart 3.0.0 requirements.
- Improved documentation with more detailed usage examples.
0.1.0 #
Initial Release #
- Implemented iOS native
UIColorPickerViewController
integration with Flutter. - Added support for real-time color change events with the
onChanged
callback. - Provided color format conversion between iOS UIColor and Flutter Color objects.
- Added support for Display P3 color space with automatic conversion to sRGB for Flutter compatibility.
- Implemented alpha (transparency) channel support with the
supportsAlpha
parameter. - Created comprehensive documentation and example app.
Features #
- Show the native iOS color picker from Flutter apps.
- Set an initial color value.
- Get real-time updates as the user changes colors.
- Support for both RGB and RGBA color formats.
- Proper color space handling for accurate color representation.
- Fully type-safe API with null safety support.
Requirements #
- iOS 14.0 or higher (UIColorPickerViewController availability).
- Flutter 3.3.0 or higher.
- Dart SDK 3.8.0 or higher.