readableDateTimeFormat method
- dynamic locale
Readable Date Time Format
Returns date and time string in the format Tuesday 1 January 2022, 08:00pm
Usage:
DateTime.now().readableDateTimeFormat
Result:
Tuesday 1 January 2022, 08:00pm
Implementation
String readableDateTimeFormat([dynamic locale]) => '${readableDate(locale)}, $timeFormat';