onMinuteChange method

void onMinuteChange(
  1. double value
)

Change handler for the minute

Implementation

void onMinuteChange(double value) {
  setState(() {
    time = time.replacing(minute: value.ceil());
  });
}