StringUtils

Static Class

Static Methods

ArgbFromHex(hex: string): Nullable<int>
Preserves the original Dart behavior as closely as possible: strips '#' and parses the remaining hex directly. Note that this does NOT force alpha to 0xFF for 6-digit RGB input. For example, "#FF0000" becomes 0x00FF0000 numerically, matching the source behavior.
HexFromArgb(argb: int, leadingHashSign: bool): string

Inherited Members

On this page