formatDateformatTime static method

String formatDateformatTime(
  1. DateTime date, {
  2. String? localeCode,
})

Implementation

static String formatDateformatTime(DateTime date, {String? localeCode}) {
  return DateFormat('HH:mm', localeCode ?? 'ca_ES').format(date);
}