NmRedemptionCountdown constructor

const NmRedemptionCountdown({
  1. Key? key,
  2. required DateTime deadline,
  3. DateTime? now,
  4. int warnDays = 90,
  5. bool compact = false,
})

Creates an NmRedemptionCountdown.

Implementation

const NmRedemptionCountdown({super.key, required this.deadline, this.now, this.warnDays = 90, this.compact = false});