|
|
|
@ -8,6 +8,7 @@ class EmptyPage extends StatelessWidget {
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
final width = min(MediaQuery.of(context).size.width, EmptyPage._width) / 2;
|
|
|
|
final width = min(MediaQuery.of(context).size.width, EmptyPage._width) / 2;
|
|
|
|
|
|
|
|
final theme = Theme.of(context);
|
|
|
|
return Scaffold(
|
|
|
|
return Scaffold(
|
|
|
|
// Add invisible appbar to make status bar on Android tablets bright.
|
|
|
|
// Add invisible appbar to make status bar on Android tablets bright.
|
|
|
|
appBar: AppBar(
|
|
|
|
appBar: AppBar(
|
|
|
|
@ -19,7 +20,8 @@ class EmptyPage extends StatelessWidget {
|
|
|
|
body: Container(
|
|
|
|
body: Container(
|
|
|
|
alignment: Alignment.center,
|
|
|
|
alignment: Alignment.center,
|
|
|
|
child: Image.asset(
|
|
|
|
child: Image.asset(
|
|
|
|
'assets/info-logo.png',
|
|
|
|
'assets/logo_transparent.png',
|
|
|
|
|
|
|
|
color: theme.colorScheme.surfaceContainerHigh,
|
|
|
|
width: width,
|
|
|
|
width: width,
|
|
|
|
height: width,
|
|
|
|
height: width,
|
|
|
|
filterQuality: FilterQuality.medium,
|
|
|
|
filterQuality: FilterQuality.medium,
|
|
|
|
|