PlannerEntry<T> constructor

const PlannerEntry<T>({
  1. required String id,
  2. required PlannerTime time,
  3. required String title,
  4. required String content,
  5. required Color color,
  6. T? data,
  7. TextStyle titleStyle = const TextStyle(fontWeight: FontWeight.bold, fontSize: 12, color: Colors.white),
  8. TextStyle textStyle = const TextStyle(fontSize: 10, color: Colors.white),
})

Implementation

const PlannerEntry({
  required this.id,
  required this.time,
  required this.title,
  required this.content,
  required this.color,
  this.data,
  this.titleStyle = const TextStyle(
      fontWeight: FontWeight.bold, fontSize: 12, color: Colors.white),
  this.textStyle = const TextStyle(fontSize: 10, color: Colors.white),
});