DayBoxStyle class Null safety

Apply style for DayBox

Annotations

Constructors

DayBoxStyle({BoxShape shape = BoxShape.rectangle, EdgeInsets padding = const EdgeInsets.all(6), double? landscapeWidthRatio, Color? selectedBackground, Color? unselectedBackground, TextStyle? selectedTextStyle, TextStyle? unselectedTextStyle, TextStyle? unselectedSaturdayTextStyle, TextStyle? unselectedHolidayTextStyle})
Assign style data of DayBox
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
landscapeWidthRatio double?
A ratio value for adjusting month view's DayBoxs' width size to ensure all month can be shown without scrolling in GridView
final
padding EdgeInsets
Define DayBox padding size
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
selectedBackground Color?
Define selected background colour
final
selectedTextStyle TextStyle?
Define selected text colour
final
shape BoxShape
Define DayBox's shape
final
unselectedBackground Color?
Define unselected background colour
final
unselectedHolidayTextStyle TextStyle?
Define unselected text colour when DayBox containing Sunday DateTime or this day is Holiday
final
unselectedSaturdayTextStyle TextStyle?
Define unselected text colour when DayBox containing Saturday DateTime
final
unselectedTextStyle TextStyle?
Define unselected text colour
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited