core/hex_codes library

Extensions

Argb on Color
HexOnColor on Color

Functions

argbFromHex(String hex) → int?
colorFromHex(String hex) → Color?
hexFromArgb(int argb, {bool leadingHashSign = true}) → String
Converts an ARGB integer to a 6-character RGB hex string.
hexFromColor(Color color, {bool leadingHashSign = true}) → String