onHourChange method

void onHourChange(
  1. double value
)

Change handler for the hour

Implementation

void onHourChange(double value) {
  setState(() {
    time = time.replacing(hour: value.round());
  });
}