How to Change the appBar Back Button Color in Flutter

appBar: AppBar(
iconTheme: IconThemeData(
color: Colors.white, //change your color here
),
title: Text("Text"),
),
appBar: AppBar(
leading: IconButton(
icon: Icon(Icons.arrow_back, color: Colors.blue), //color
onPressed: () => Navigator.of(context).pop(),
),
title: Text("Text"),
),
appBar: AppBar(
leading: BackButton(
color: Colors.black //change your color here
),
title: Text("Text"),
),

--

--

--

Mobile Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

CS371P Spring 2022 Blog 10: Vedika Jain

4 Common Centrifugal Pump Failures

The best frameworks for cross-platform development

Solving invisible scaling issues with Serverless and MongoDB

Process your data like a Pro! The story of SageMaker Processing Jobs

How to get system statistics out of XPSWMM Model

How to make a Wireguard VPN on DigitalOcean with Algo for $5.00/mo

One Year Journey as an Android Developer :

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nur Özkaya

Nur Özkaya

Mobile Developer

More from Medium

How to animate widgets on Alert Dialog in flutter?

Flutter scroll parent when ListView reach bottom

Flutter Navigation Guide - Push(), Pop() with all required method variants.

Draw Hexagon with Flutter