localizedDateTime function

String localizedDateTime(
  1. DateTime dateTime, [
  2. String? locale,
  3. String? pattern
])

Formats a localized date and time for the active locale on BloomI18n.instance.

final str = localizedDateTime(DateTime.now());

See also:

Implementation

String localizedDateTime(DateTime dateTime, [String? locale, String? pattern]) =>
    formatDateTime(dateTime, locale: locale, pattern: pattern);