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

20 lines
485 B
Dart

import 'package:flutter/material.dart';
import '../../models/themes/theme.dart';
class SplashScreen extends StatelessWidget {
const SplashScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
decoration: BoxDecoration(color: AppTheme.jishoGreen.background),
child: const Center(
child: Image(
image: AssetImage('assets/images/logo/logo_icon_transparent.png'),
),
),
);
}
}