static String formatTimeToStr(DateTime time) { return "${time.hour..toString().padLeft(2, '0')}:${time.minute..toString().padLeft(2, '0')}:${time.second..toString().padLeft(2, '0')}"; }