添加应用版本检查页

This commit is contained in:
toly
2020-06-16 13:02:29 +08:00
parent 5fe4ca91ae
commit ee14c6ea54
8 changed files with 156 additions and 19 deletions

View File

@@ -14,7 +14,7 @@ class SettingPage extends StatelessWidget {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('主题设置'),
title: Text('应用设置'),
),
body: ListView(
children: <Widget>[
@@ -59,6 +59,15 @@ class SettingPage extends StatelessWidget {
),
Divider(),
_buildShowBg(context),
ListTile(
leading: Icon(
Icons.info,
color: Theme.of(context).primaryColor,
),
title: Text('版本信息'),
trailing: _nextIcon(context),
onTap: () => Navigator.of(context).pushNamed(Router.version_info),
),
],
),
);