ui library
Extensions
Functions
-
colorFromHex(
String hexString) → Color - String is in the format "aabbcc" or "ffaabbcc" with an optional leading "#".
-
colorToHex(
Color? color, {bool leadingHashSign = true}) → String? -
Prefixes a hash sign if
leadingHashSign
is set totrue
(default istrue
). -
formatPhoneNumber(
String phoneNumber, {String isoCode = ''}) → Future< String>