AwesomeTheme class

Class to define a customizable theme for a calendar (You can use predefined themes : LightTheme and DarkTheme).

Implementers

Constructors

AwesomeTheme.new({Color backgroundColor = const Color(0xFFFFFFFF), Color buttonColor = const Color(0xFF4A5660), TextStyle yearAndMonthHeaderTextStyle = const TextStyle(color: Color(0xFF4A5660), fontWeight: FontWeight.bold, fontSize: 18), TextStyle weekDaysTextStyle = const TextStyle(color: Color(0xFFB5BEC6)), Color selectedDateBackgroundColor = const Color(0xFFF04D23), TextStyle selectedDayTextStyle = const TextStyle(color: Colors.white), TextStyle unselectedDayTextStyle = const TextStyle(color: Color(0xFF4A5660)), Color eventMarkerColorOnSelectedDay = Colors.white, Color eventMarkerColorOnUnselectedDay = const Color(0xFFF04D23)})

Properties

backgroundColor Color
The background color of the calendar.
getter/setter pair
buttonColor Color
The color of the next and previous buttons in the calendar.
getter/setter pair
eventMarkerColorOnSelectedDay Color
The color of the event marker on selected day.
getter/setter pair
eventMarkerColorOnUnselectedDay Color
The color of the event marker on unselected day.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedDateBackgroundColor Color
The background color of a selected date.
getter/setter pair
selectedDayTextStyle TextStyle
The text style of the selected day text.
getter/setter pair
unselectedDayTextStyle TextStyle
The text style of the unselected days texts.
getter/setter pair
weekDaysTextStyle TextStyle
The text style of the weekdays text.
getter/setter pair
yearAndMonthHeaderTextStyle TextStyle
The text style of the year and month header text.
getter/setter pair

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