mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-07-08 21:21:15 +08:00
22 lines
464 B
Dart
22 lines
464 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
void main() => runApp(MyApp());
|
|
|
|
class MyApp extends StatelessWidget {
|
|
// This widget is the root of your application.
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Flutter Demo',
|
|
home: Scaffold(
|
|
appBar: AppBar(
|
|
title: Text("Splash Screen Example"),
|
|
),
|
|
body: Center(
|
|
child: Text("Hello World"),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|