remainingSeconds property

int get remainingSeconds

Returns the current number of seconds remaining in the countdown.

Returns 0 if the timer is not active or has finished.

Implementation

int get remainingSeconds => _cubit?.state.secondsRemaining ?? 0;