fluffychat/lib/widgets/layouts/empty_page.dart
ggurdin 9ecf4e3bd2
fix: fix dart formatting for CI (#1368)
* fix: fix dart formatting for CI

* fix: sorted imports, updated deprecated flutter functions

* fix: format files

* fix: format files

* feat: replace syncfusion flutter package with excel flutter package

* fix: don't run enable google services patch in CI

* fix: update iOS supported platforms for enable ios build script

* fix: commented out linux build in integrate CI
2025-01-07 08:32:42 -05:00

39 lines
1.1 KiB
Dart

import 'dart:math';
import 'package:flutter/material.dart';
import 'package:fluffychat/pangea/widgets/common/pangea_logo_svg.dart';
class EmptyPage extends StatelessWidget {
static const double _width = 400;
const EmptyPage({super.key});
@override
Widget build(BuildContext context) {
final width = min(MediaQuery.of(context).size.width, EmptyPage._width) / 2;
// #Pangea
// final theme = Theme.of(context);
// Pangea#
return Scaffold(
// Add invisible appbar to make status bar on Android tablets bright.
appBar: AppBar(
automaticallyImplyLeading: false,
elevation: 0,
backgroundColor: Colors.transparent,
),
extendBodyBehindAppBar: true,
body: Container(
alignment: Alignment.center,
// #Pangea
child: PangeaLogoSvg(width: width),
// child: Image.asset(
// 'assets/logo_transparent.png',
// color: theme.colorScheme.surfaceContainerHigh,
// width: width,
// height: width,
// filterQuality: FilterQuality.medium,
// ),
// Pangea#
),
);
}
}