The base class for all ViewConfigurations.
ViewConfigurations are used to configure the view of the calendar.
Constructors
- ViewConfiguration({required String name, DateTime? initialDateTime, DateTransition dateTransition = DateTransition.carryFocus, DateResolver? dateResolver, NowCallback? nowCallback, MultiDayRule multiDayRule = kDefaultMultiDayRule})
-
const
Properties
- dateResolver → DateResolver?
-
An optional resolver for the visible date on a view switch or a change of location.
final
- dateTimeRange → KalenderDateTimeRange
-
The KalenderDateTimeRange that the calendar can display.
no setter
- dateTransition → DateTransition
-
How the visible date is chosen when switching to this view from another, or when the calendar's location
changes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialDateTime → DateTime?
-
The date the view opens on when the calendar is first built.
final
- multiDayRule → MultiDayRule
-
Decides which events belong in the multi-day header rather than the day
timeline.
final
- name → String
-
The name of the ViewConfiguration.
final
- nowCallback → NowCallback?
-
An optional callback that overrides how the calendar resolves "now".
final
- pageIndexCalculator → PageIndexCalculator
-
The functions for navigating the PageView.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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