CalendarStyle<T extends CalendarEvent> class
Constructors
-
CalendarStyle({Color primaryColor = const Color(0xff2196F3), Color primaryBackgroundColor = const Color(0xffffffff), Color primaryTextColor = const Color(0xff000000), Color primaryColorContrast = const Color(0xffffffff), Color secondaryColor = const Color(0xffe2f2ff), Color secondaryBackgroundColor = const Color(0xffeeeeee), Color secondaryTextColor = const Color(0xffcccccc), Color barrierColor = Colors.black54, CalendarEventStyle eventStyleProvider(T event, CalendarStyle<
T> style)?, CalendarIconsStyle icons = const CalendarIconsStyle()}) -
const
Properties
- barrierColor → Color
-
final
-
eventStyleProvider
→ CalendarEventStyle Function(T event, CalendarStyle<
T> style)? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icons → CalendarIconsStyle
-
final
- primaryBackgroundColor → Color
-
final
- primaryColor → Color
-
final
- primaryColorContrast → Color
-
final
- primaryTextColor → Color
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryBackgroundColor → Color
-
final
- secondaryColor → Color
-
final
- secondaryTextColor → Color
-
final
Methods
-
getEventStyle(
T event) → CalendarEventStyle -
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
Static Methods
-
of<
T extends CalendarEvent> (BuildContext context) → CalendarStyle< T>