native_ios_color_picker 0.0.2
native_ios_color_picker: ^0.0.2 copied to clipboard
A Flutter plugin that provides a native iOS and macOS color picker interface.
0.0.2 #
- BREAKING CHANGE: Refactored the plugin to use an
EventChannelfor color updates.NativeIosColorPicker.showColorPicker()is nowFuture<void>and only shows the picker.- Added
NativeIosColorPicker.onColorChangedstream (Stream<Map<dynamic, dynamic>>) which emits color updates (RGBA map) from the native picker in real-time.
- Fixed an issue where the picker might disappear immediately after selection by adopting a stream-based approach for color updates.
- Updated
README.mdwith new usage instructions and API details reflecting the stream-based approach. - Improved
ColorModel.fromMapto handle dynamic map types safely from the stream.
0.0.1 #
- Initial release.