Use native splash screen

This commit is contained in:
LollipopKit
2021-10-26 19:24:07 +08:00
parent e786832faf
commit a3eb78336d
39 changed files with 386 additions and 99 deletions

View File

@@ -102,7 +102,7 @@ class _MyHomePageState extends State<MyHomePage>
Widget _buildIcon() {
return ConstrainedBox(
constraints: const BoxConstraints(maxHeight: 60, maxWidth: 60),
child: Image.asset('assets/app_icon.jpg'),
child: Image.asset('assets/app_icon.png'),
);
}

View File

@@ -157,18 +157,18 @@ class _ServerPageState extends State<ServerPage>
Column(
children: [
Text(
up,
style: statusTextStyle,
textAlign: TextAlign.center,
textScaleFactor: 1.0,
),
const SizedBox(height: 3),
Text(
down + '\n',
style: statusTextStyle,
textAlign: TextAlign.center,
textScaleFactor: 1.0,
)
up,
style: statusTextStyle,
textAlign: TextAlign.center,
textScaleFactor: 1.0,
),
const SizedBox(height: 3),
Text(
down + '\n',
style: statusTextStyle,
textAlign: TextAlign.center,
textScaleFactor: 1.0,
)
],
),
Text(