Skip to content

Commit

Permalink
Fix: the _InternalDayViewPageState is always Object #371 (#375)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
jiazeh authored Jun 5, 2024
1 parent f183169 commit e3c127b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/day_view/_internal_day_view_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class InternalDayViewPage<T extends Object?> extends StatefulWidget {
}) : super(key: key);

@override
State<InternalDayViewPage> createState() => _InternalDayViewPageState();
_InternalDayViewPageState<T> createState() => _InternalDayViewPageState();
}

class _InternalDayViewPageState<T extends Object?>
Expand Down
2 changes: 1 addition & 1 deletion lib/src/week_view/_internal_week_view_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class InternalWeekViewPage<T extends Object?> extends StatefulWidget {
}) : super(key: key);

@override
State<InternalWeekViewPage> createState() => _InternalWeekViewPageState();
_InternalWeekViewPageState<T> createState() => _InternalWeekViewPageState();
}

class _InternalWeekViewPageState<T extends Object?>
Expand Down

0 comments on commit e3c127b

Please sign in to comment.