You've already forked flutter-rp-example
First commit
This commit is contained in:
34
lib/widgets/splash_screen.dart
Normal file
34
lib/widgets/splash_screen.dart
Normal file
@@ -0,0 +1,34 @@
|
||||
import 'dart:async';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../globals.dart';
|
||||
|
||||
class SplashScreen extends StatefulWidget {
|
||||
const SplashScreen({super.key});
|
||||
|
||||
@override
|
||||
State<StatefulWidget> createState() {
|
||||
return SplashState();
|
||||
}
|
||||
}
|
||||
|
||||
class SplashState extends State<SplashScreen> {
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return const Scaffold(
|
||||
backgroundColor: Globals.RP_PRIMARY_COLOR,
|
||||
body: Center(
|
||||
child:
|
||||
Image(image: AssetImage('assets/images/LOGO_REFLEX_WHITE.png'),
|
||||
height: 200.0,
|
||||
width: 200.0,)),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user