fix mobile features

This commit is contained in:
csf
2022-08-05 20:29:43 +08:00
parent a22daccb0c
commit 0ef1659b87
6 changed files with 89 additions and 114 deletions

View File

@@ -12,10 +12,10 @@ abstract class PageShape extends Widget {
final List<Widget> appBarActions = [];
}
final homeKey = GlobalKey<_HomePageState>();
class HomePage extends StatefulWidget {
HomePage({Key? key}) : super(key: key);
static final homeKey = GlobalKey<_HomePageState>();
HomePage() : super(key: homeKey);
@override
_HomePageState createState() => _HomePageState();