Answers for "applying hexa color in flutter"

18

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
0

flutter hex color

// color start from 0xff_colorcode
Color(0xffA5A4A4)
Color(0xffA5A4A4).withOpacity(.5)
Posted by: Guest on January-10-2022

Code answers related to "Dart"

Browse Popular Code Answers by Language