backButtonCircle method

Widget backButtonCircle(
  1. BuildContext context, {
  2. Function? onTap,
  3. bool filled = false,
})

Implementation

Widget backButtonCircle(BuildContext context,
    {Function? onTap, bool filled = false}) {
  return Padding(
      padding: const EdgeInsets.symmetric(vertical: 4),
      child: iconButton(context, Icons.arrow_forward_rounded, onTap: () {
        if (onTap != null) {
          onTap();
        }
        Navigator.pop(context);
      }));
}