onSecondChange method

void onSecondChange(
  1. double value
)

Change handler for the second

Implementation

void onSecondChange(double value) {
  setState(() {
    time = time.replacing(second: value.ceil());
  });
}