countdownDuration property

Duration countdownDuration
final

How long the verification code is valid for, anchored at countdownStartDateTime.

While the countdown is running, the remaining time is rendered as "Code valid for M:SS" below the digits. When it reaches zero, the widget switches to the expired view. Ignored when showCountdown is false or countdownStartDateTime is null. Defaults to 30 minutes.

Implementation

final Duration countdownDuration;