flutter

Change the color of icons in appbar flutter

Scaffold(
  appBar: AppBar(
    iconTheme: IconThemeData(
      color: Color(0xffFF0000), //OR Colors.red or whatever you want
    ),
    title: Text("Title"),
    backgroundColor: Color(0xffFAFAFA),
  ),
)

You can use 'iconTheme' property of appBar to change the color of its icons. It will change the color of all icons that are showing in your appBar.

Was this helpful?