PlannerEntry<T> constructor
const
PlannerEntry<T> ({
- required String id,
- required PlannerTime time,
- required String title,
- required String content,
- required Color color,
- T? data,
- TextStyle titleStyle = const TextStyle(fontWeight: FontWeight.bold, fontSize: 12, color: Colors.white),
- 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),
});