CalendarStyle class
Class containing styling for TableCalendar
's content.
Constructors
- CalendarStyle({TextStyle dayStyle = const TextStyle(), TextStyle selectedStyle = const TextStyle(color: Color(0xFFFAFAFA), fontSize: 16.0), TextStyle todayStyle = const TextStyle(color: Color(0xFFFAFAFA), fontSize: 16.0), Color selectedColor = const Color(0xFF5C6BC0), Color todayColor = const Color(0xFF9FA8DA), bool renderDaysOfWeek = true, EdgeInsets contentPadding = const EdgeInsets.only(bottom: 4.0, left: 8.0, right: 8.0), bool highlightSelected = true, bool highlightToday = true, Color weekEndTextColor = Colors.red})
-
const
Properties
- contentPadding → EdgeInsets
-
Padding of
CleanNepaliCalendar
's content.final - dayStyle → TextStyle
-
Style of foreground Text for regular weekdays.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlightSelected → bool
-
Specifies whether or not SelectedDay should be highlighted.
final
- highlightToday → bool
-
Specifies whether or not Today should be highlighted.
final
- renderDaysOfWeek → bool
-
Determines whether the row of days of the week should be rendered or not.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedColor → Color
-
Background Color of selected day.
final
- selectedStyle → TextStyle
-
Style of foreground Text for selected day.
final
- todayColor → Color
-
Background Color of today.
final
- todayStyle → TextStyle
-
Style of foreground Text for today.
final
-
Style of foreground Text for days outside of
startDay
-endDay
Date range.final - weekEndTextColor → Color
-
show different colors for weekend, currently only saturday
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