app_color_parser 0.0.6
app_color_parser: ^0.0.6 copied to clipboard
A lightweight Flutter package for converting between Color, hex strings, and ARGB integers, with built-in JSON serialization support.
Changelog #
All notable changes to this project will be documented in this file.
0.0.5+1 #
Jun 25, 2025 #
Changed #
toHex()now returns color strings in Flutter's preferred format using'0xff$hex'.- Integrated
ColorTools.colorCode(Color)fromflex_color_pickerto produce consistent 8-digitAARRGGBBformat before prefixing. - Ensures lowercase
0xffprefix, matching how Flutter represents colors in source code.
0.0.5 #
0.0.4 #
- Added
hex_color_extensionfor serializing/deserializingColoras hex string.
0.0.3 #
- Added
HexColorJsonParserfor serializing/deserializingColoras hex string.
0.0.2 #
- Create Example file.
0.0.1 #
- Added
HexColorExtensionfor converting betweenColorand hex strings. - Added
ColorJsonHelperfor serializing/deserializingColoras ARGB integer. - Added
HexColorJsonHelperfor serializing/deserializingColoras hex string. - Defined
IColorJsonHelperinterface for custom JSON color serialization strategies.