Answers for "how to set color of button in flutter hex code"

3

how to change the color of the back button in app bar flutter

appBar: AppBar(
  iconTheme: IconThemeData(
    color: Colors.black, //change your color here
  ),
  title: Text("Sample"),
  centerTitle: true,
),
Posted by: Guest on July-17-2020
1

flutter hex color

Color myHexColor = Color(0xff123456) 

// her you notice I use the 0xff and that is opacity or transparency of the color 
// and you can also change these value .
Posted by: Guest on October-27-2020

Code answers related to "how to set color of button in flutter hex code"

Browse Popular Code Answers by Language