appBarBackButton static method
IconButton
appBarBackButton({
- required BuildContext context,
- IconData icon = Icons.arrow_back_ios,
App Bar Back Button
Implementation
static IconButton appBarBackButton(
{required BuildContext context, IconData icon = Icons.arrow_back_ios}) {
return IconButton(
icon: Icon(icon),
onPressed: () {
Navigator.of(context).pop();
},
);
}