FlutterDateTimeExtensions extension

on

Methods

addDaysToDate(int days) DateTime

Available on DateTime, provided by the FlutterDateTimeExtensions extension

Returns a DateTime with the added number of days and time set to midnight.
changeTime(TimeOfDay timeOfDay) DateTime

Available on DateTime, provided by the FlutterDateTimeExtensions extension

isSameDayWith(DateTime dateB) bool

Available on DateTime, provided by the FlutterDateTimeExtensions extension

Returns true if the two DateTime objects have the same day, month, and year, or are both null.
isSameMonthWith(DateTime dateB) bool

Available on DateTime, provided by the FlutterDateTimeExtensions extension

Returns true if the two DateTime objects have the same month and year, or are both null.