VoCountdownAction constructor

const VoCountdownAction({
  1. Key? key,
  2. Widget builder(
    1. String countdown,
    2. bool isEnabled
    )?,
  3. TextAlign? textAlign,
  4. Duration duration = const Duration(seconds: 30),
  5. TextStyle? textStyle,
  6. String prefixText = '',
  7. Color? enabledColor,
  8. Color? disabledColor,
  9. String countdownPrefixText = '',
  10. required String actionText,
  11. required Future<void> onPressed(),
})

Implementation

const VoCountdownAction({
  super.key,
  this.builder,
  this.textAlign,
  this.duration = const Duration(seconds: 30),
  this.textStyle,
  this.prefixText = '',
  this.enabledColor,
  this.disabledColor,
  this.countdownPrefixText = '',
  required this.actionText,
  required this.onPressed,
});