CalendarControllerFamily class
CalendarController is a controller for the Calendar UI.
Copied from CalendarController.
Constructors
- CalendarControllerFamily()
-
CalendarController is a controller for the Calendar UI.
const
Properties
-
allTransitiveDependencies
→ Iterable<
ProviderOrFamily> ? -
no setter
-
dependencies
→ Iterable<
ProviderOrFamily> ? -
The list of providers that this provider potentially depends on.
no setter
- from → Family
-
The family that this provider/family depends on.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAutoDispose → bool
-
Whether the state associated to this provider should be disposed
automatically when the provider stops being listened.
finalinherited
- name → String?
-
A custom label for providers.
no setter
- origin → Family
-
The provider that is overridden.
no setterinherited
- retry → Retry?
-
The retry strategy to use when a provider fails.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
{required DateTime focusedDay, required DateTime firstDay, required DateTime lastDay, DateTime? currentDay, dynamic locale, DateTime? rangeStartDay, DateTime? rangeEndDay, List< int> weekendDays = const [DateTime.saturday, DateTime.sunday], CalendarFormat calendarFormat = CalendarFormat.month, Map<CalendarFormat, String> availableCalendarFormats = const {CalendarFormat.month : 'Month', CalendarFormat.twoWeeks : '2 weeks', CalendarFormat.week : 'Week'}, bool headerVisible = true, bool daysOfWeekVisible = true, bool pageJumpingEnabled = false, bool pageAnimationEnabled = true, bool sixWeekMonthsEnforced = false, bool shouldFillViewport = false, bool weekNumbersVisible = false, double rowHeight = 52.0, double daysOfWeekHeight = 16.0, Duration formatAnimationDuration = const Duration(milliseconds: 200), Curve formatAnimationCurve = Curves.linear, Duration pageAnimationDuration = const Duration(milliseconds: 300), Curve pageAnimationCurve = Curves.easeOut, StartingDayOfWeek startingDayOfWeek = StartingDayOfWeek.sunday, HitTestBehavior dayHitTestBehavior = HitTestBehavior.opaque, AvailableGestures availableGestures = AvailableGestures.all, SimpleSwipeConfig simpleSwipeConfig = const SimpleSwipeConfig(verticalThreshold: 25.0, swipeDetectionBehavior: SwipeDetectionBehavior.continuousDistinct), HeaderStyle headerStyle = const HeaderStyle(), DaysOfWeekStyle daysOfWeekStyle = const DaysOfWeekStyle(), CalendarStyle calendarStyle = const CalendarStyle(), CalendarBuilders calendarBuilders = const CalendarBuilders(), RangeSelectionMode rangeSelectionMode = RangeSelectionMode.toggledOff, List eventLoader(DateTime)?, bool enabledDayPredicate(DateTime)?, bool selectedDayPredicate(DateTime)?, bool holidayPredicate(DateTime)?, void onRangeSelected(DateTime?, DateTime?, DateTime)?, void onDaySelected(DateTime, DateTime)?, void onDayLongPressed(DateTime, DateTime)?, void onDisabledDayTapped(DateTime)?, void onDisabledDayLongPressed(DateTime)?, void onHeaderTapped(DateTime)?, void onHeaderLongPressed(DateTime)?, void onPageChanged(DateTime)?, void onFormatChanged(CalendarFormat)?, void onCalendarCreated(PageController)?}) → CalendarControllerProvider - CalendarController is a controller for the Calendar UI.
-
getProviderOverride(
covariant CalendarControllerProvider provider) → CalendarControllerProvider -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overrideWith(
CalendarController create()) → Override - Enables overriding the behavior of this provider, no matter the parameters.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited