We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6a0721 commit 6fa75b6Copy full SHA for 6fa75b6
lib/page/home/home_page.dart
@@ -79,13 +79,13 @@ class _HomePageState extends State<HomePage> {
79
onDoublePress: (index) {
80
switch (index) {
81
case 0:
82
- dynamicKey.currentState!.scrollToTop();
+ dynamicKey.currentState?.scrollToTop();
83
break;
84
case 1:
85
- trendKey.currentState!.scrollToTop();
+ trendKey.currentState?.scrollToTop();
86
87
case 2:
88
- myKey.currentState!.scrollToTop();
+ myKey.currentState?.scrollToTop();
89
90
}
91
},
0 commit comments