HareTime constructor
Implementation
HareTime({String? value, int? hour, int? minute, this.onChanged}) : super() {
if (value != null) {
List<String> lsTo = value.split(":");
if (lsTo.length >= 2) {
hour = lsTo[0].toInt;
minute = lsTo[1].toInt;
}
}
if (hour != null) hourController.text = hour.toString();
if (minute != null) minController.text = minute.toString();
}