3.5.0
May 15, 2024
Requires min Flutter 3.22.0.
No new features or fixes in this release. A version bump to use FlexSeedScheme 2.0.0 compatible with Flutter version 3.22.0 and its new breaking ColorScheme.
The ColorPicker contains no breaking changes, but underlying Flutter does, and this version is only compatible with Flutter 3.22.0 and later.
NEW
- Added property
mainAxisSize
toColorPicker
andshowColorPickerDialog
, it controls the vertical axis size of the picker's column layout. Defaults toMainAxisSize.max
as before, likeColumns
do by default. The property was added to enable setting the dialog to useMainAxisSize.min
if needed.
FIX
- Fix wheel picker jumping to BW or custom picker under certain conditions.
- When the wheel picker's opacity value is not 100, moving the color picker cursor to the white corner or bottom black edge of the color box triggers a jump. It auto-selects BW or a custom picker containing black or white values. This is now fixed. The picker cursor will stay in the wheel picker, and the color box will not jump to BW or custom picker when the cursor is moved to the white corner or bottom black edge of the color box.
- Improved and updated API documentation for
ColorPicker
propertiescolor
andonColorChanged
. - Fixed typos and language in the readme.