ResendCodeButton constructor

const ResendCodeButton({
  1. required Future<void> onResendPressed(),
  2. Duration countdownDuration = const Duration(minutes: 1),
  3. Key? key,
})

Creates a ResendCodeButton widget.

Implementation

const ResendCodeButton({
  required this.onResendPressed,
  this.countdownDuration = const Duration(minutes: 1),
  super.key,
});