feat: dark theme

Signed-off-by: Kingtous <kingtous@qq.com>
This commit is contained in:
Kingtous
2022-07-29 16:47:24 +08:00
parent 6b99d4d82e
commit 608f02ea21
7 changed files with 97 additions and 49 deletions

View File

@@ -72,7 +72,7 @@ class _FileManagerPageState extends State<FileManagerPage>
return false;
},
child: Scaffold(
backgroundColor: MyTheme.grayBg,
backgroundColor: isDarkTheme() ? MyTheme.dark : MyTheme.grayBg,
body: Row(
children: [
Flexible(flex: 3, child: body(isLocal: true)),