Jisho-Study-Tool/lib/components/common/splash.dart

20 lines
485 B
Dart
Raw Normal View History

2021-08-08 23:16:54 +02:00
import 'package:flutter/material.dart';
2021-12-01 23:09:53 +01:00
2022-01-19 02:10:05 +01:00
import '../../models/themes/theme.dart';
2021-08-08 23:16:54 +02:00
class SplashScreen extends StatelessWidget {
const SplashScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
decoration: BoxDecoration(color: AppTheme.jishoGreen.background),
2021-12-01 23:09:53 +01:00
child: const Center(
child: Image(
image: AssetImage('assets/images/logo/logo_icon_transparent.png'),
),
2021-08-08 23:16:54 +02:00
),
);
}
2021-12-01 23:09:53 +01:00
}