HexColor extension

Extension to convert hex string colors to Flutter Color objects.

on

Methods

toColor() Color

Available on String, provided by the HexColor extension

Converts a hex color string in ARGB format (#AARRGGBB) to a Color object. Example: "#FF333333" becomes Color(0xFF333333).