dayNameLocalized method

String dayNameLocalized([
  1. Locale? locale
])

Gets the day name in a specific locale.

Requires initializeDateFormatting() from package:intl/date_symbol_data_local.dart to have been awaited, unless locale is null or en_US. Throws a FlutterError naming the missing call otherwise.

Implementation

String dayNameLocalized([Locale? locale]) =>
    _formatLocalized(() => DateFormat.EEEE(locale?.toLanguageTag()), this, locale);