Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

color from hex code flutter

Color c = const Color(0xFF42A5F5);
Color c = const Color.fromARGB(0xFF, 0x42, 0xA5, 0xF5);
Color c = const Color.fromARGB(255, 66, 165, 245);
Color c = const Color.fromRGBO(66, 165, 245, 1.0);
Source by api.flutter.dev #
 
PREVIOUS NEXT
Tagged: #color #hex #code #flutter
ADD COMMENT
Topic
Name
9+3 =