Answers for "flutter specify color"

1

how to change color in container flutter

new Container(
  color: Colors.pink,
  decoration: new BoxDecoration(
    borderRadius: new BorderRadius.circular(16.0),
    color: Colors.green,
  ),
);
Posted by: Guest on December-21-2021
3

color() in flutter

// Color() widget can be used in the following way:
//where 123456 is the hex color code without the '#'


Color myHexColor = Color(0xff123456)
Posted by: Guest on May-14-2020

Code answers related to "Dart"

Browse Popular Code Answers by Language