mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
28 lines
729 B
Dart
28 lines
729 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
class Body extends StatelessWidget {
|
||
|
const Body({Key? key}) : super(key: key);
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
var size = MediaQuery.of(context).size;
|
||
|
|
||
|
return Container(
|
||
|
alignment: Alignment.center,
|
||
|
child: SingleChildScrollView(
|
||
|
child: Stack(
|
||
|
alignment: Alignment.center,
|
||
|
children: [
|
||
|
Image(
|
||
|
fit: BoxFit.cover,
|
||
|
width: size.width,
|
||
|
height: size.height,
|
||
|
image: const AssetImage(
|
||
|
'assets/images/appflowy_launch_splash.jpg')),
|
||
|
const CircularProgressIndicator.adaptive(),
|
||
|
],
|
||
|
),
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|