onTimeChange method

dynamic onTimeChange(
  1. double value
)

Change handler for picker

Implementation

onTimeChange(double value) {
  if (selected == SelectedInput.HOUR) {
    onHourChange(value);
  } else if (selected == SelectedInput.MINUTE) {
    onMinuteChange(value);
  } else {
    onSecondChange(value);
  }
}