menu
cool_datepicker package
documentation
library/utils/extension_util.dart
HexColor extension
HexColor extension
dark_mode
light_mode
HexColor
extension
on
Color
Methods
subHex
(
String
target
)
→
Color
toHex
(
{
bool
leadingHashSign
=
true
})
→
String
Prefixes a hash sign if
leadingHashSign
is set to
true
(default is
true
).
Static Methods
fromHex
(
String
hexString
)
→
Color
String is in the format "aabbcc" or "ffaabbcc" with an optional leading "#".
cool_datepicker package
documentation
library/utils/extension_util
HexColor extension
extension_util library