colorInt property

int get colorInt

Return black if _color is not match for safety

Implementation

int get colorInt =>
    _assertHexString(_color) ? _hexadecimalToDecimal(_color) : black.colorInt;