OtpTimerButton constructor
const
OtpTimerButton(
- {Key? key,
- required VoidCallback? onPressed,
- required Text text,
- ProgressIndicator? loadingIndicator,
- required int duration,
- OtpTimerButtonController? controller,
- double? height,
- Color? backgroundColor,
- Color? textColor,
- Color? loadingIndicatorColor,
- ButtonType buttonType = ButtonType.elevated_button,
- double? radius}
Implementation
const OtpTimerButton(
{Key? key,
required this.onPressed,
required this.text,
this.loadingIndicator,
required this.duration,
this.controller,
this.height,
this.backgroundColor,
this.textColor,
this.loadingIndicatorColor,
this.buttonType = ButtonType.elevated_button,
this.radius})
: super(key: key);