Answers for "hexadecimal to color flutter"

15

how to use hexadecimal color in flutter

Color myColor = Color(0xff123456) 

// where 123456 is your hex color code and
// 0xff is the opacity value and can be changed.
Posted by: Guest on May-14-2020
3

flutter color hex

const color = const Color(0xffb74093); // Second `const` is optional in assignments.
Posted by: Guest on September-23-2020

Code answers related to "Dart"

Browse Popular Code Answers by Language