DayOptions class

Inheritance

Constructors

DayOptions({Color weekDaySelectedColor = Colors.red, Color weekDayUnselectedColor = Colors.black38, Color selectedBackgroundColor = const Color(0xff3AC3E2), Color unselectedBackgroundColor = Colors.transparent, Color selectedTextColor = Colors.white, bool showWeekDay = true, bool compactMode = false, bool disableDaysBeforeNow = false, bool disableDaysAfterNow = false, bool disableFadeEffect = false, Color disabledTextColor = Colors.grey, Color unselectedTextColor = Colors.black, double dayFontSize = 12, Color todayBackgroundColor = Colors.transparent, Color todayTextColor = Colors.black, bool differentStyleForToday = false})

Properties

compactMode bool
getter/setter pair
dayFontSize double
getter/setter pair
differentStyleForToday bool
getter/setter pair
disableDaysAfterNow bool
getter/setter pair
disableDaysBeforeNow bool
getter/setter pair
disabledTextColor Color
getter/setter pair
disableFadeEffect bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
listenerCount int
Returns the number of listeners listening to this model.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedBackgroundColor Color
getter/setter pair
selectedTextColor Color
getter/setter pair
showWeekDay bool
getter/setter pair
todayBackgroundColor Color
getter/setter pair
todayTextColor Color
getter/setter pair
unselectedBackgroundColor Color
getter/setter pair
unselectedTextColor Color
getter/setter pair
weekDaySelectedColor Color
getter/setter pair
weekDayUnselectedColor Color
getter/setter pair

Methods

addListener(VoidCallback listener) → void
listener will be invoked when the model changes.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Should be called only by Model when the model has changed.
inherited
removeListener(VoidCallback listener) → void
listener will no longer be invoked when the model changes.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

of(BuildContext context) DayOptions