CalendarOptions class
- Inheritance
-
- Object
- Listenable
- Model
- CalendarOptions
Constructors
- CalendarOptions({bool toggleViewType = false, ViewType viewType = ViewType.MONTHLY, Color? headerMonthBackColor, Color? headerMonthShadowColor, double? headerMonthElevation, ShapeBorder? headerMonthShape, String font = '', Color? bottomSheetBackColor = Colors.white, DateTime? weekStartDate, DateTime? weekEndDate})
Properties
- bottomSheetBackColor ↔ Color?
-
getter/setter pair
- font ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerMonthBackColor ↔ Color?
-
getter/setter pair
- headerMonthElevation ↔ double?
-
getter/setter pair
- headerMonthShadowColor ↔ Color?
-
getter/setter pair
- headerMonthShape ↔ ShapeBorder?
-
getter/setter pair
- 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
- toggleViewType ↔ bool
-
getter/setter pair
- viewType ↔ ViewType
-
getter/setter pair
- weekEndDate ↔ DateTime?
-
getter/setter pair
- weekStartDate ↔ DateTime?
-
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) → CalendarOptions