onTimeChange method
Change handler for picker
Implementation
onTimeChange(double value) {
if (selected == SelectedInput.HOUR) {
onHourChange(value);
} else if (selected == SelectedInput.MINUTE) {
onMinuteChange(value);
} else {
onSecondChange(value);
}
}