Answers for "colors in flutter"

4

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
0

color flutter

SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
  statusBarColor: Colors.white
));
Posted by: Guest on July-06-2021
0

flutter color

AnimatedContainer(
          width: MediaQuery.of(context).size.width, 
          alignment: Alignment.bottomCenter,
          height: MediaQuery.of(context).size.height,
          duration: Duration(milliseconds: 100),
          padding: EdgeInsets.fromLTRB(15, 10, 15, 5),
          color: Colors.blue, 						//change to any preset color(ctrl + space)
         
        ),
Posted by: Guest on October-25-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language