monthName property

String get monthName

Get the name of the month

Example:

final date = DateTime(2023, 12, 25);
print(date.monthName); // "December"

Implementation

String get monthName => format('MMMM');