JCountdown constructor

const JCountdown({
  1. Key? key,
  2. int seconds = 10,
  3. void onTick(
    1. int remaining
    )?,
  4. VoidCallback? onComplete,
  5. Widget builder(
    1. BuildContext context,
    2. int remaining
    )?,
  6. TextStyle? textStyle,
  7. bool autostart = true,
})

Implementation

const JCountdown({
  super.key,
  this.seconds = 10,
  this.onTick,
  this.onComplete,
  this.builder,
  this.textStyle,
  this.autostart = true,
});