back button color in appbar flutter code example
Example 1: how to change the color of the back button in app bar flutter
appBar: AppBar(
iconTheme: IconThemeData(
color: Colors.black,
),
title: Text("Sample"),
centerTitle: true,
),
Example 2: 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(
color: Theme.of(context).canvasColor,
icon: FaIcon(FontAwesomeIcons.bars, size: 20, color: themeOrangeColor),
onPressed: () => Scaffold.of(context).openEndDrawer(),
),
)