1
0
mirror of https://github.com/nisrulz/flutter-examples.git synced 2025-11-09 04:58:58 +00:00
Files
flutter-examples/enabling_splash_screen/lib/main.dart
2018-01-19 23:05:08 +05:30

22 lines
492 B
Dart

import 'package:flutter/material.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Flutter Demo',
home: new Scaffold(
appBar: new AppBar(
title: new Text("Splash Screen Example"),
),
body: new Center(
child: new Text("Hello World"),
),
),
);
}
}