backButton method

Widget backButton(
  1. VoidCallback onTap
)

Round "back" control in the card's top-left corner (the web widget's back button). Leaves the OTP screen so the identity can be changed.

Implementation

Widget backButton(VoidCallback onTap) => circleIconButton(
  icon: const Icon(Icons.arrow_back_rounded),
  onTap: onTap,
  tooltip: 'Back',
  size: 34,
);