You've already forked flutter-rp-example
First commit
This commit is contained in:
18
lib/pages/splash.dart
Normal file
18
lib/pages/splash.dart
Normal file
@@ -0,0 +1,18 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:sampleapp/widgets/splash_screen.dart';
|
||||
|
||||
import '../globals.dart';
|
||||
|
||||
class SplashPage extends Page {
|
||||
const SplashPage();
|
||||
|
||||
@override
|
||||
Route createRoute(BuildContext context) {
|
||||
return MaterialPageRoute(
|
||||
settings: this,
|
||||
builder: (BuildContext context) {
|
||||
return const SplashScreen();
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user