From e3c127b9a5f92208c0ef3cbe9ba2664d64261c0d Mon Sep 17 00:00:00 2001 From: jiazeh <45085050+jiazeh@users.noreply.github.com> Date: Wed, 5 Jun 2024 20:39:05 +0800 Subject: [PATCH] Fix: the `_InternalDayViewPageState` is always Object #371 (#375) * Fix: Generics of _InternalDayViewPageState is always Object? #371 Fix the problem that `_InternalDayViewPageState` is always Object. * Fix: Generics of _InternalDayViewPageState is always Object? #371 Fix the problem that `_InternalDayViewPageState` is always Object. --- lib/src/day_view/_internal_day_view_page.dart | 2 +- lib/src/week_view/_internal_week_view_page.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/day_view/_internal_day_view_page.dart b/lib/src/day_view/_internal_day_view_page.dart index 804ea239..d46be383 100644 --- a/lib/src/day_view/_internal_day_view_page.dart +++ b/lib/src/day_view/_internal_day_view_page.dart @@ -176,7 +176,7 @@ class InternalDayViewPage extends StatefulWidget { }) : super(key: key); @override - State createState() => _InternalDayViewPageState(); + _InternalDayViewPageState createState() => _InternalDayViewPageState(); } class _InternalDayViewPageState diff --git a/lib/src/week_view/_internal_week_view_page.dart b/lib/src/week_view/_internal_week_view_page.dart index ea2f570a..2603e890 100644 --- a/lib/src/week_view/_internal_week_view_page.dart +++ b/lib/src/week_view/_internal_week_view_page.dart @@ -211,7 +211,7 @@ class InternalWeekViewPage extends StatefulWidget { }) : super(key: key); @override - State createState() => _InternalWeekViewPageState(); + _InternalWeekViewPageState createState() => _InternalWeekViewPageState(); } class _InternalWeekViewPageState