@@ -1012,7 +1012,8 @@ class DayViewState<T extends Object?> extends State<DayView<T>> {
10121012
10131013 /// Animate to next page (next day).
10141014 ///
1015- /// Transitions with animation using [pageTransitionDuration] and [pageTransitionCurve] .
1015+ /// Transitions with animation using [DayView.pageTransitionDuration] and
1016+ /// [DayView.pageTransitionCurve] .
10161017 ///
10171018 /// See also: [previousPage] , [jumpToDate] , [animateToDate]
10181019 void nextPage ({Duration ? duration, Curve ? curve}) => _pageController.nextPage (
@@ -1022,7 +1023,8 @@ class DayViewState<T extends Object?> extends State<DayView<T>> {
10221023
10231024 /// Animate to previous page (previous day).
10241025 ///
1025- /// Transitions with animation using [pageTransitionDuration] and [pageTransitionCurve] .
1026+ /// Transitions with animation using [DayView.pageTransitionDuration] and
1027+ /// [DayView.pageTransitionCurve] .
10261028 ///
10271029 /// See also: [nextPage] , [jumpToDate] , [animateToDate]
10281030 void previousPage ({Duration ? duration, Curve ? curve}) =>
@@ -1056,20 +1058,21 @@ class DayViewState<T extends Object?> extends State<DayView<T>> {
10561058 duration: duration ?? widget.pageTransitionDuration,
10571059 curve: curve ?? widget.pageTransitionCurve);
10581060
1059- /// Returns current page index (number of days since [minDay] ).
1061+ /// Returns current page index (number of days since [DayView. minDay] ).
10601062 int get currentPage => _currentIndex;
10611063
10621064 /// Jumps to page which gives day calendar for [date]
10631065 ///
10641066 /// This is the preferred way to navigate to a specific date. It automatically
1065- /// calculates the correct page index based on the [ minDay] parameter .
1067+ /// calculates the correct page index based on [DayView. minDay] .
10661068 ///
10671069 /// **Example:**
10681070 /// ```dart
10691071 /// dayViewState.jumpToDate(DateTime(2024, 5, 15));
10701072 /// ```
10711073 ///
1072- /// **Note:** The [date] must be within the range [minDay] to [maxDay] ,
1074+ /// **Note:** The [date] must be within the range [DayView.minDay] to
1075+ /// [DayView.maxDay] ,
10731076 /// otherwise an exception will be thrown.
10741077 ///
10751078 /// Throws an exception if [date] is outside the valid date range.
@@ -1082,10 +1085,12 @@ class DayViewState<T extends Object?> extends State<DayView<T>> {
10821085
10831086 /// Animate to page which gives day calendar for [date] .
10841087 ///
1085- /// Calculates the correct page index based on [minDay] and animates to it.
1088+ /// Calculates the correct page index based on [DayView.minDay] and animates
1089+ /// to it.
10861090 /// Arguments [duration] and [curve] override default transition values.
10871091 ///
1088- /// Throws an exception if [date] is outside the [minDay] to [maxDay] range.
1092+ /// Throws an exception if [date] is outside the [DayView.minDay] to
1093+ /// [DayView.maxDay] range.
10891094 Future <void > animateToDate (DateTime date,
10901095 {Duration ? duration, Curve ? curve}) async {
10911096 if (date.isBefore (_minDate) || date.isAfter (_maxDate)) {
0 commit comments