appBar: AppBar(
leading: BackButton(
onPressed: () {
Get.off(exercisePage());
},
),
<code> shape: RoundedRectangleBorder(
borderRadius: BorderRadius.only(
bottomLeft: Radius.circular(30),
bottomRight: Radius.circular(30)),
),
automaticallyImplyLeading: false,
title: Padding(
padding: const EdgeInsets.only(left: 25),
child: Text(
'Regular exercise',
style: TextStyle(
fontFamily: 'FontMain', fontSize: 22, color: Colors.indigo),
),
),
backgroundColor: Color.fromARGB(255, 231, 235, 237),
),
</code>
<code> shape: RoundedRectangleBorder(
borderRadius: BorderRadius.only(
bottomLeft: Radius.circular(30),
bottomRight: Radius.circular(30)),
),
automaticallyImplyLeading: false,
title: Padding(
padding: const EdgeInsets.only(left: 25),
child: Text(
'Regular exercise',
style: TextStyle(
fontFamily: 'FontMain', fontSize: 22, color: Colors.indigo),
),
),
backgroundColor: Color.fromARGB(255, 231, 235, 237),
),
</code>
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.only(
bottomLeft: Radius.circular(30),
bottomRight: Radius.circular(30)),
),
automaticallyImplyLeading: false,
title: Padding(
padding: const EdgeInsets.only(left: 25),
child: Text(
'Regular exercise',
style: TextStyle(
fontFamily: 'FontMain', fontSize: 22, color: Colors.indigo),
),
),
backgroundColor: Color.fromARGB(255, 231, 235, 237),
),
I have a BackButon() in my appbar , I want to change the default icon of BackButton in FLUTTER.
New contributor
Vinesh Thakkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.