schultek/dart_mappable

ColorToHex(Color).toString() dont returns the hex code

Closed this issue · 2 comments

String textColor = ColorToHex(Colors.teal).toString();

expected: textColor='#460000'
result: textcolor='Color(0xff460000)'

Not sure what ColorToHex is, its not part of this package.

sorry, my bad. typed in wrong window