26 lines
641 B
Dart
26 lines
641 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
void main() => runApp(const MyApp());
|
||
|
|
||
|
class MyApp extends StatelessWidget {
|
||
|
const MyApp({Key? key}) : super(key: key);
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return MaterialApp(
|
||
|
title: 'Flutter Demo',
|
||
|
home: Scaffold(
|
||
|
appBar: AppBar(
|
||
|
title: const Text('Flutter Demo'),
|
||
|
),
|
||
|
body: Center(
|
||
|
child: Column(
|
||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||
|
children: const <Widget>[
|
||
|
Text('Hello World'),
|
||
|
]),
|
||
|
)),
|
||
|
);
|
||
|
}
|
||
|
}
|