Event constructor

Event({
  1. int? id,
  2. required DateTime date,
  3. String? title,
  4. String? description,
  5. String? location,
  6. Widget? icon,
  7. Widget? dot,
})

Implementation

Event({
  this.id,
  required this.date,
  this.title,
  this.description,
  this.location,
  this.icon,
  this.dot,
});