Answers for "flutter change color of appbar buttons"

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
0

flutter app bar action button color

actions: [
          Container(
            margin: EdgeInsets.all(4.0),
            decoration: BoxDecoration(
              color: Theme.of(context).canvasColor,
              shape: BoxShape.circle,
            ),
            child: IconButton(
              //shape: CircleBorder(),
              color: Theme.of(context).canvasColor,
              icon: FaIcon(FontAwesomeIcons.bars, size: 20, color: themeOrangeColor),
              //child: FaIcon(FontAwesomeIcons.bars, size: 20, color: themeOrangeColor),
              onPressed: () => Scaffold.of(context).openEndDrawer(),
            ),
          )
Posted by: Guest on March-12-2021

Code answers related to "flutter change color of appbar buttons"

Browse Popular Code Answers by Language