isCurrentMonth method

bool isCurrentMonth (DateTime date)

Implementation

static bool isCurrentMonth(DateTime date) {
  var now = DateTime.now();
  return date.month == now.month && date.year == now.year;
}