WeekCalendarStyle constructor
const
WeekCalendarStyle({
- TextStyle monthHeaderStyle = const TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
- TextStyle dayNameStyle = const TextStyle(fontSize: 12),
- TextStyle dayNumberStyle = const TextStyle(fontSize: 16),
- Color activeDayColor = Colors.blueAccent,
- Color dayIndicatorColor = Colors.transparent,
- double dayIndicatorSize = 28,
- Border? dayIndicatorBorder,
- BoxShadow? dayIndicatorShadow,
- TextStyle selectedDayTextStyle = const TextStyle(fontSize: 16, fontWeight: FontWeight.bold),
- TextStyle inactiveDayTextStyle = const TextStyle(fontSize: 16),
- bool showParticles = false,
- Duration selectionAnimationDuration = const Duration(milliseconds: 300),
- Curve selectionAnimationCurve = Curves.easeOutBack,
Creates a style configuration for the calendar
Implementation
const WeekCalendarStyle({
this.monthHeaderStyle =
const TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
this.dayNameStyle = const TextStyle(fontSize: 12),
this.dayNumberStyle = const TextStyle(fontSize: 16),
this.activeDayColor = Colors.blueAccent,
this.dayIndicatorColor = Colors.transparent,
this.dayIndicatorSize = 28,
this.dayIndicatorBorder,
this.dayIndicatorShadow,
this.selectedDayTextStyle =
const TextStyle(fontSize: 16, fontWeight: FontWeight.bold),
this.inactiveDayTextStyle = const TextStyle(fontSize: 16),
this.showParticles = false,
this.selectionAnimationDuration = const Duration(milliseconds: 300),
this.selectionAnimationCurve = Curves.easeOutBack,
});