flex_color_picker

A highly customizable Flutter color picker.

BSD-3-CLAUSE License

Stars
197
Committers
10

Bot releases are hidden (Show)

flex_color_picker - Version 2.5.0

Published by rydmike over 2 years ago

[2.5.0] - April 21, 2022

NEW FEATURES

  • Added new features to add padding between the wheel picker's shade square and hue wheel, and to adjust the border radius on the shade square. Addresses enhancement request #47 "Square padding". The new features are available via ColorPicker properties wheelSquarePadding and wheelSquareBorderRadius.
flex_color_picker - Version 2.4.0

Published by rydmike over 2 years ago

[2.4.0] - April 15, 2022

FIX

  • Fixes issue #44 "High wheelWidth cause wrong cursor position in the ColorPicker"

NEW FEATURES

  • The order of the action buttons Cancel - OK on the bottom of the built-in
    dialog can be changed to OK - Cancel. come in three flavors controlled by enum
    ColorPickerActionButtonOrder having values:

    • okIsRight this is the default in order to no break past behavior.
    • okIsLeft
    • adaptive order depends on platform. Windows uses okIsLeft others
      okIsRight.

    The feature is enabled via the ColorPickerActionButtons configuration
    and its new property dialogActionOrder.

  • By default, the picker tries to set focus to its own widgets when it is
    created. It does this when either [ctrlC] or [ctrlV] are enabled in
    order for the keyboard listener to be able to react to copy-paste events
    even if no control on the widget has been focused yet.
    If you need another widget to retain focus, e.g., if the picker is used on a
    surface/scope shared with other widgets and not in its own dialog, then
    setting [autoFocus] to false might help.

    If both [ctrlC] and [ctrlV] are false, the picker yields the focus the
    same way as setting [autoFocus] false, but then you have no keyboard shortcut
    copy-paste functions at all. With [autoFocus] false, you can still use
    keyboard copy-paste shortcuts and yield the focus from the picker.
    When you do this, the copy-paste keyboard shortcuts will not work until
    one of the pickers components have been focused by interacting with them.

    The picker still grabs focus when you click on its background, as one way
    to set focus to keyboard listener to enable copy-paste keyboard shortcuts
    or when you operate any of its controls, the control in question
    always gains focus.

    You can now turn OFF the autofocus used by the keyboard listener by setting
    autoFocus to false in ColorPickerCopyPasteBehavior.

    This new feature can potentially also be used to address issue #33.

UPDATED

  • The generated Material Color swatch you get when you click on any color in the
    wheel picker has been updated and is a bit improved. It is still not the
    actual M2 MaterialColor swatch algorithm, like the Tonal Palette is when it
    comes to Material 3. Which is using the actual seed algorithm for the primary
    tonal palette you get with the selected color as input. The wheel does detect when
    you have selected any Material 2 swatch color and shows its swatch then.
    For other colors, it computes a MaterialColor swatch. This swatch
    is still not using the correct algorithm, but it is a bit better looking
    than before.

    There is currently no know Dart implementation of this algorithm, if there
    were it would be in use here. There are some versions in JS of the algorithm
    that have been reverse engineered from the Material 2 design guide website.
    If someone wants to make a Dart version, that would be fabulous. Links and more
    information can be found in ColorTools.createPrimarySwatch

WED DEMO

The web demo app has been updated to demonstrate above new features.

flex_color_picker - Version 2.3.1

Published by rydmike over 2 years ago

[2.3.1] - March 3, 2022

FIX

  • Fix for nullable/none nullable difference for Flutter IconButton between Flutter version 2.10.0 and earlier versions, e.g. 2.8.1, where iconSize is nullable in Flutter 2.10.x, but not e.g. in Flutter 2.8.1. See issue report #40 and PR #41.
flex_color_picker - Version 2.3.0

Published by rydmike over 2 years ago

[2.3.0] - February 18, 2022

NEW FEATURE

  • Added capability to show a Material 3 tonal palette as per
    Material 3 design specification.

  • To enable it set new ColorPicker property enableTonalPalette to true. It is false by default. Like the Material Swatch shades heading that
    that has an optional subHeading widget, when tonal palette is enabled you can show an optional tonalSubheading widget above it.

    • When you click/select a color in the color picker and tonal palette is enabled, a 13 shade Material 3 tonal palette for the selected color will be generated, always starting with black, tone 0 for the used seed color and ending in white, tone 100.

    • The official Material 3 Dart library is used to create the tonal palette from any selected color. The color you select functions a seed color to
      generate the tonal palette and might not itself be included and selected in the palette. You can of course click on any color in the generated palette to select and pick a color.

    • Selecting a color in the tonal palette, only selects the color in the palette, it does not update the palette. Only when you select a color from the other color sources in the picker, is that color used as key, to seed and generate an updated color palette for the selected color.

UPDATED

  • The WEB example was updated to include enabling and disabling the tonal palette and built it with Flutter version, stable 2.10.1.

  • All dependencies in the Web demo were updated to their latest released version.

    The Web demo example requires at least Flutter 2.10.0 to be built, it uses ColorScheme properties in its theme that were not available earlier and removed in 2.10.0 deprecated color properties from its theme. The color picker package itself, still has unchanged version requirement of Dart SDK sdk: '>=2.14.0 <3.0.0'.

flex_color_picker - Version 2.2.0

Published by rydmike almost 3 years ago

[2.2.0] - November 17, 2021

  • Fixed the style for color entry field, to always uses the intended fixed stadium style.
  • Updated dependencies for the web demo, big change was Riverpod to use v1.0.0.
  • Lint rule updates.
  • Bump Dart SDK requirement to 2.14.
  • Build and publish WEB demo with updated version using Flutter 2.5.3.
flex_color_picker - Version 2.1.2

Published by rydmike over 3 years ago

[2.1.2] - July 16, 2021

  • Improvement: Improved performance by splitting wheel painting into
    multiple painters and introducing RepaintBoundary widgets around
    expensive painters to avoid unnecessary repaints. Thank you
    Krista Koivisto for this excellent contribution!
flex_color_picker - Version 2.1.1

Published by rydmike over 3 years ago

[2.1.1] - July 2, 2021

  • Documentation fix.

[2.1.0] - July 2, 2021

  • Fix: The useRootNavigator argument is now respected on all Navigator
    pop functions used in the ColorPicker widget itself and by
    built-in dialogs used by the ColorPicker. In order to support this,
    the current useRootNavigator property in the ColorPicker.showPickerDialog() and
    in the function showColorPickerDialog had to be deprecated.

    The property has moved to become a configuration option in ColorPickerActionButtons
    class in order to make it accessible to the Navigator pop functions both in
    the ColorPicker widget itself, as well as to built-in dialogs.

    The default behavior has not changed, the setting still defaults to using
    dialogs that use the root navigator, but now the pop functions work as intended.
    If you for some reason have used none root navigators for the built-in
    dialogs in previous versions, you need to set
    ColorPickerActionButtons(useRootNavigator: false) and pass it to
    ColorPicker(actionButtons) or showColorPickerDialog(actionButtons).

  • Tests: Started adding more tests and coverage report.
    Total 5668 tests, coverage 65.36%.

  • Documentation and typo updates.

flex_color_picker - Version 2.0.2

Published by rydmike over 3 years ago

[2.0.2] - June 11, 2021

  • Improvement: Performance slightly improved via an additional rebuild check.
  • New feature: ColorTools got a new static function swatchContainsColor.
  • New feature: Set property secondaryOnDesktopLongOnDeviceAndWeb to true (defaults to false) in
    ColorPickerCopyPasteBehavior, to enable using long press in the color picker, to open up the COPY-PASTE
    context menu on Web, iOS and Android touch devices. While using secondary mouse button
    on desktop platforms Windows, Mac and Linux, but not if it is a desktop web app.
  • Documentation: Fixed broken API reference links in API guide chapter. Mentioned that WEB build
    requires a canvas kit build if enableOpacity feature is used.
  • Web example: The live web example got updated to use the latest Flutter stable embedder.
  • CI/CD: Trying the CI/CD deployment with --base-href="/flexcolorpicker/" instead of repl.
flex_color_picker - Version 2.0.1

Published by rydmike over 3 years ago

[2.0.1] - April 10, 2021

  • New feature: Enabled updating the color picker externally. Just set the color property of the widget to a
    new value to update it. You can even "remote control" the color picker by updating the color, if so needed.

    This is mostly a potential use-case for desktop/web when the picker is not used in a dialog.
    You can of course use this on a phone or tablet too, but often there is not room enough to keep the picker
    visible on the main surface this way on mobile devices. However, on desktops it is certainly a valid use
    case that should be supported. It was previously not supported by design, but as we are going for covering
    web/desktop use-cases, it should certainly be supported. This update adds support for it. The picker only
    updates if the externally provided color constructor property differs from its internally kept color
    state. Finding the right picker, computing its swatches, is a bit demanding, but it seems to work fluidly,
    even when remote controlling the wheel and sliders interactively.

  • Web example: Updated the Web example to also show the "remote control" of the on-screen color picker. A
    remote control widget with a few color boxes, that you can click on to update its colors externally was added.
    The demo even goes meta! You can use a modal dialog version of the ColorPicker, to control the ColorPicker
    on the screen in the card, from the dialog ColorPicker! Maybe not as such so useful, but an interesting demo.

flex_color_picker - Version 2.0.0

Published by rydmike over 3 years ago

[2.0.0] - April 9, 2021

  • This release only contains documentation updates from pre-release 2.0.0-nullsafety.5

  • Thi is the first stable release of the null-safe version

  • This is a MAJOR new feature release, in addition to the null-safety conversion.
    Please see changelogs from 2.0.0-nullsafety.0 to nullsafety.5, for a complete list of changes and new features.

  • To get familiar with version 2.0.0 and all its new features, it is recommended to go through the updated tutorial,
    and the API guide in the readme file.

  • For convenience, the list of breaking changes from last stable version 1.1.5 are listed below.

    Breaking Changes

    In addition to breaking changes as a result of the null-safety implementation, this release contain a few other
    minor breaking changes from version 1.x, they mostly concern visual nuances and label defaults.

  • The colorCodeIcon has been deprecated and no longer has any function. To modify the copy icon on the color
    code entry field, define the ColorPickerCopyPasteBehavior(copyIcon: myIcon) and provide it to the
    copyPasteBehavior property, it defaults to same icon as in versions 1.x.

  • The bottom dialog action button that selects the color now says OK instead of Select. The label for the OK
    button by default comes from a Material localization. You can as before change it to whatever string you want.

  • The dialog bottom action button for OK by default now uses a plain TextButton and
    not an OutlinedButton. This change is done to conform to a less opinionated default style. You can still
    manually configure it to use an OutlinedButton instead as before. Now you can choose, before there was
    no choice.

  • The dialog bottom OK button is no longer auto-focused.

  • The extension FlexPickerNoNullStringExtensions on none nullable
    String named toColor, no longer returns color value Color(0x00000000) for colors that cannot be parsed
    to a Color. It now returns Color(0xFF000000). This is because the Flutter SDK dislikes the fully transparent
    black Color(0x00000000), if it is full opaque black, it works better as a fallback safety color.
    The FlexPickerNullableStringExtensions on String? named toColorMaybeNull works as before by returning
    null when the String? cannot be parsed to a Color.

  • The color code edit and entry field now works more like a normal text entry field. It still
    only accepts valid hex input and converts all input to uppercase.

flex_color_picker - Version 2.0.0-nullsafety.5

Published by rydmike over 3 years ago

[2.0.0-nullsafety.5] - April 8, 2021

  • Fix: Setting borderColor did not change the border color on the wheel when wheelHasBorder was true.
  • New features: The showPickerDialog method now exposes most (= not directly controlled) properties
    of the underlying AlertDialog used to make the dialog, this includes e.g. the backgroundColor, elevation,
    clipBehavior and shape as new exposed properties that may be useful.
  • New feature: Added a new alternative color picker dialog function showColorPickerDialog that returns a
    Future<Color> which when the dialog is closed, returns the selected color from the dialog or original start
    color value, if no selection was made.
    This picker might be simpler to use in some scenarios, but it does not allow
    for the feature where colors and theme's can update in the background behind the dialog, as colors are selected
    in it, before it is even closed. However, if you just need to open a dialog, select a color and move on, this
    version offers a simpler API for that. Under the hood it is just a wrapper for the previous more
    capable version with the onChange callbacks. It shares all other properties and features with the ColorPicker
    combined with its showPickerDialog method, except all the onChanged callbacks that are excluded.
    Since the properties elevation and title in the showPickerDialog method, would collide with the same
    named properties in ColorPicker. The dialog's elevation and title in the showColorPickerDialog are
    instead called dailogElevation and dialogTitle in it.
  • Improvement: Performance was improved via more optimized rebuilds.
  • Documentation: First version of updated documentation with API guide documentation is now included. It still
    requires proof-reading before stable release, but getting close to be ready for release now.
  • Default example: The default example got a new picker that shows how to the new showColorPickerDialog function.
  • Web example: The Web example, with the built-in API tooltips guides, got a major rewrite. It was originally
    not intended to be as large as it grew to be, but since it grew so much it needed a rewrite.
    It now uses Riverpod to make its simple state management needs easy to handle and much cleaner than before.
    It also includes persisting the settings directly as settings are changed in the app. The persistence is
    implemented with Hive and should work on all Flutter platforms as well, but it has only been tested on Android,
    Web and Windows.
    As an experiment, only RiverPod StateProviders were used. While the setup is a bit tedious, it enables the desired
    fine-grained control over rebuilds of all the used setting control widgets. Each setting is also stored as an
    individual key-value pair in the used Hive box.
    A ProviderObserver that observes changes in the StateProviders we want to persist, is used to save any state change
    to the used Hive box, regardless of where the state is changed in the demo app. This setup was an experiment to
    see if it might work and provide some simplification benefits. At least in this case it did, and it is also a pretty
    interesting and simple solution.
    The default start values are also defined via the Riverpod StateProvider's default values, that also
    use their const Hive string key as their provider name. Each StateProvider gets its start setting value from
    the Hive box with the same key. If the key does not exist yet in Hive, it falls back to a default value from a
    const Map using the same sring const as its key, for the default fallback value. Reset back to default values is also
    done by setting all providers' state back to their default values as defined by the same const
    fallback value map.
flex_color_picker - Version 2.0.0-nullsafety.4

Published by rydmike over 3 years ago

[2.0.0-nullsafety.4] - March 22, 2021

  • New Feature: A bool enableOpacity property was added that enables an opacity
    slider that can be used to control the alpha channel in the selected ARGB color value. The slider
    height can be controlled with opacityTrackHeight, the width with opacityTrackWidth and the
    slider thumb size with opacityThumbRadius. There is also a opacitySubheading Widget that can
    be used to provide a Widget heading for the opacity slider.

NOTE:
This is FlexColorPicker 2.0.0 dev and pre-release with sound null safety. It contains
many new features compared to previous stable 1.1.5 none null safe version.

The package documentation has not yet been updated to cover the new features that are
being introduced in final 2.0.0 version together with null-safety. The changelog covers
the major changes. The API-documentation is up to date as well. The bundled and live
web demo app demonstrates all the new features, and you
can change most API settings. The demo also shows each API name and current value in a tooltip for
each control that modifies API values in the demo.

No more new features will be added to 2.0.0 before the pending stable release. This release is
a stabilization and fine-tuning phase. The remaining minimum requirements for releasing stable version 2
is an update of this package documentation to cover all new features.
Later releases will provide additional refinements, further testing and CI/CD pipe.

flex_color_picker - Version 2.0.0-nullsafety.3

Published by rydmike over 3 years ago

[2.0.0-nullsafety.3] - March 12, 2021

  • Bugfix: Color code field no longer receives focus when switching to it on wheel page.
    Focus is set to color wheel, or the selected color shade, if the
    shade colors are present. The focus handling has also been improved for desktop usage.
  • Bugfix: The property editUsesParsedPaste now works as intended, if true, desktop keyboard paste commands,
    while editing a color value are intercepted, and the hole pasted buffer value gets parsed, it does not get
    pasted into the field. For normal field paste functionality keep editUsesParsedPaste false (default).
  • The color code edit and entry field now works more like a normal text entry field. It still only accepts
    valid hex input and converts all input to uppercase.
  • New property: If colorCodeHasColor is true, then the background of the color code entry field uses the current
    selected color.
  • New property If colorCodeReadOnly the color code entry field is always read only. Normally color code can
    be edited on the wheel picker, set this to true to make it read only there as well. Copy/paste operations still work
    if they are enabled even if the color code field entry is in read only mode.
  • New feature: The copyPasteBehavior property received three new features and properties:
    • The copy/paste context menu can now also optionally use secondary, typically mouse right, click by setting
      secondaryMenu to true.
    • It also has a mode where long press will be used on iOS/Android, but secondary mouse click will be
      used on desktop/web, by setting secondaryOnDesktopLongOnDevice to true.
    • When parseShortHexCode is true the hex color code paste action and field entry parser,
      interpret short three character web hex color codes like in CSS.
  • New extension: The extension FlexPickerNoNullStringExtensions on String got a new
    extension function Color toColorShort(bool enableShortRGB).
  • New extension: The extension FlexPickerNullableStringExtensions on String? got a new
    extension function Color? toColorShortMaybeNull(bool enableShortRGB).
  • Minor breaking: The extension FlexPickerNoNullStringExtensions on none nullable
    String named toColor no longer returns color value Color(0x00000000) for colors that cannot be parsed
    to a Color. It now returns Color(0xFF000000). This is because the Flutter SDK dislikes the fully transparent
    black Color(0x00000000), if it is full opaque black, it works better as a fallback safety color.
    The FlexPickerNullableStringExtensions on String? named toColorMaybeNull works as before by returning
    null when the String? cannot be parsed to a Color.
  • Tests: Added unit tests for ColorPickerActionButtonType and ColorPickerCopyPasteBehavior.

See API documentation for more information.

flex_color_picker - Version 2.0.0-nullsafety.2

Published by rydmike over 3 years ago

[2.0.0-nullsafety.2] - March 3, 2021

Documentation and live Web demo link fixes.

flex_color_picker - Version 2.0.0-nullsafety.1

Published by rydmike over 3 years ago

[2.0.0-nullsafety.1] - March 3, 2021

There are many new features included in this version 2 pre-release. The new features can be explored with
live Web example. Its source code is also included in the package
example folder, in "example/lib/demo/main.dart".

  • Improvements: The wheel picker now move on pointer down to point location, it no longer requires a slight movement
    for its thumbs to move to the selected start tracking point.

  • Improvements: Keyboard traversal of the colors and selecting indicator colors with the keyboard via
    enter or space. The wheel can however still not be operated with a keyboard, only touch and mouse controlled.

  • New property onColorChangeStart: Called when user starts color selection with current color before the change.

  • New property onColorChangeEnd: Called when user ends color selection with the new color value.

  • New property selectedPickerTypeColor: The color of the thumb on the slider that shows the selected picker.
    Ported from none null-safe version 1.1.4, does not exist in version 2.0.0-nullsafety.0.

  • New property colorCodePrefixStyle: Defines the text style of the prefix for the color code.
    If not defined it defaults to same style as colorCodeTextStyle.
    Ported from none null-safe version 1.1.4, does not exist in version 2.0.0-nullsafety.0.

  • New property title: A Widget used as an app bar type of title widget above the heading. Can
    include copy, paste, select-close and cancel-cancel icon buttons when picker is used as a dialog.

  • Major new feature: An actionButtons property that takes an ColorPickerActionButtons(). Used to define
    what type of Ok and Cancel action buttons the color picker has when used in a dialog.
    It is possible to define if
    bottom action buttons should be TextButton, OutlinedButton or ElevatedButton per button.
    If not defined, the labels on the buttons come from Material localizations, not from default hard coded values.
    See breaking label for the 'Select' label. There are optional select/OK and cancel icon buttons that can be used
    in the title bar for a more compact dialog. See API documentation for more information.

  • Major feature: A copyPasteBehavior property that takes an ColorPickerCopyPasteBehavior().
    Used to define the copy/paste behavior of the color picker, including:

    • Keyboard shortcuts: CTRL-C, CMD-C, CTRL-V, CMD-V
    • Top toolbar copy-paste buttons.
    • Long press copy-paste menu.

    All copy/paste behaviors are optional and can be enabled based on what is needed.

    For the copy format, the desired resulting RGB color string format can be configured to use #RRGGBB
    RRGGBB #AARRGGBB AARRGGBB and 0xAARRGGBB (default) options. The selected copy format is indicated with the
    corresponding prefix in the color code display/edit field when it is enabled.

    Paste supports parsing multiple RGB color string formats. It automatically detects what format is used and auto
    parses to correct Flutter/Dart color value. You can e.g. paste string formatted as #RRGGBB RRGGBB #AARRGGBB
    AARRGGBB #RGB RGB or 0xAARRGGBB, partial color string values also work. You can also activate
    a snack bar that informs the users if they paste color strings in an unsupported RGB string format into the
    color picker.

    See API documentation for more information.

  • Major new feature: The picker can display recently used colors in a list of color indicators at the bottom of
    the picker. You can use the following properties to control it.

    • showRecentColors: Set to true/false to enable/disable the usage of the recent colors feature.

    • recentColorsSubheading: Subheading widget for the recently used colors. Typically, a Text widget,
      e.g. Text('Recent colors'). If not provided there is no sub heading for the recently used colors.

    • maxRecentColors: Number of recent colors to track, from 2 to 20 allowed.

    • recentColors: a list with current recent color, defaults to empty. You can store the last list
      and use it to restore the previous recent colors list.

    • onRecentColorsChanged: Optional value callback that returns a copy the current list of recently
      used colors. Use it store a copy of the recent colors in order to be able to restore it later.

      See API documentation for more information.

Breaking changes

The following are minor breaking changes from version 1.x, they mostly concern visual nuances and label defaults.

  • The colorCodeIcon has been deprecated and no longer has any function. To modify the copy icon on the color
    code entry field, define the ColorPickerCopyPasteBehavior(copyIcon: myIcon) and provide it to the
    copyPasteBehavior property, it defaults to same icon as in version 1.x.
  • The bottom action button that selects the color now says OK instead of Select. The label for the OK
    button by default comes from a Material localization. You can as before change it to whatever string you want.
  • The dialog bottom action button for OK by default now uses just a plain TextButton and
    not an OutlinedButton, this change is done to conform to a less opinionated default style. You can still
    manually configure it to use an OutlinedButton instead as before. Now you can choose, before there was
    no choice.
  • The dialog bottom OK button is no longer auto-focused.
flex_color_picker - Version 1.1.5

Published by rydmike over 3 years ago

[1.1.5] - March 3, 2021

  • Bug fix selectedPickerTypeColor: When color was undefined, the thumb did not receive the same text color as the
    default and only one before in version 1.1.3 and earlier, in dark-mode. This broke compatibility with past style
    when using dark-mode. This fix restores the correct past style when the selectedPickerTypeColor is undefined.
flex_color_picker - Version 1.1.4

Published by rydmike over 3 years ago

[1.1.4] - March 3, 2021

  • New property selectedPickerTypeColor: Defines the color of the thumb on the slider that shows the selected picker.
  • New property colorCodePrefixStyle: Defines the text style of the prefix for the color code.
    If not defined it defaults to same style as colorCodeTextStyle.
flex_color_picker - Version 2.0.0-nullsafety.0

Published by rydmike over 3 years ago

[2.0.0-nullsafety.0] - February 15, 2021

  • First version with null safety.
  • A workaround to https://github.com/flutter/flutter/issues/71687 was introduced. The issue has not been resolved.
    However, the workaround allows for the Wrap implementation that was changed to a Row in version 1.1.2, to be used
    again.
  • The almost full API configurable Web example and demo, was included in the package in "example/lib/demo/mina.dart" together
    with the previous default example in "example/lib/main.dart". Previously this Web example was in a separate GitHub
    repository. The example was updated to make it responsive, to offer better usability on Web.
flex_color_picker - Version 1.1.3

Published by rydmike almost 4 years ago

[1.1.3] - December 22, 2020

  • Fixed the faulty documentation and comment for showPickerDialog parameter insetPadding.
  • Fixed the faulty default value for showPickerDialog parameter insetPadding, the new default
    value is the same as Flutter and Material default
    EdgeInsets.symmetric(horizontal: 40.0, vertical: 24.0), as it should have been.
  • Minor documentation style correction.
flex_color_picker - Version 1.1.2

Published by rydmike almost 4 years ago

[1.1.2] - December 5, 2020

  • Temporary: The Wrap implementation for showing the color code and integer value was changed to a Row due to a regression in Flutter SDK causing a crash issue on channels dev and master when showing the ColorPicker in a Dialog. For more info see here: https://github.com/flutter/flutter/issues/71687
    When the issue is resolved, the implementation will be reverted back to a Wrap. Using a Wrap has the added benefit of breaking the color code display+input field, and the rarely used int value, into two rows in case a large font is used in a narrow view when they are both configured to be shown. The Row may overflow in some rare cases. If you do not plan to use the ColorPicker with channels and versions affected by the issue, you can still use the previous version 1.1.1 to keep using the Wrap implementation if you need it. With normal styling it is typically not needed.
  • Fixed that the provided TextStyle via property colorCodeTextStyle was not also applied to the shown color integer value when showColorValue was set to true, as stated in API doc and intended.