onUpdate property

void Function(String timeStr) onUpdate
final

更新回调函数,参数为格式化后的时间字符串

Implementation

final void Function(String timeStr) onUpdate;