FlexPickerNoNullStringExtensions extension

Extensions on String.

Included extensions are, toColor to convert a String to a Color. To capitalize the first letter in a String and dotTail to get remaining string after first dot "." in a String.

on

Properties

capitalize String
Capitalize the first letter in a string.
no setter
dotTail String
Return the string remaining in a string after the last "." in a String, if there is no "." the string itself is returned.
no setter
toColor Color
Returns toColorShort with enableShortRGB set to true.
no setter

Methods

toColorShort(bool enableShortRGB) Color
Convert a HEX value encoded (A)RGB string to a Dart Color.