Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter HexColor String to Color #


Color red = const Color(0xFF890041);
Color redHexColor = HexColor('#890041');
print(red == redHexColor);///true

print(redHexColor == red);///true
Source by pub.dev #
 
PREVIOUS NEXT
Tagged: #flutter #HexColor #String #Color
ADD COMMENT
Topic
Name
7+6 =