DayBoxStyle class
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.
no setterinherited
- 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.
no setterinherited
- 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 nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited