appBar: AppBar(
leading: BackButton(
onPressed: () {
Get.off(exercisePage());
},
),
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.
2
Answers