fullDateWith24HourTime static method

String Function(DateTime) fullDateWith24HourTime([
  1. String locale = 'en_US'
])

Creates a formatter for full date with 24-hour time

Implementation

static String Function(DateTime) fullDateWith24HourTime([
  String locale = 'en_US',
]) {
  return DateFormatterBuilder()
      .locale(locale)
      .dateFormat(DateFormatStyle.full)
      .timeFormat(TimeFormatStyle.twentyFourHour)
      .includeTime()
      .build();
}