mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-11-08 12:39:17 +00:00
20 lines
439 B
Dart
20 lines
439 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(
|
|
home: new Scaffold(
|
|
appBar: new AppBar(
|
|
title: new Text("Using Listview"),
|
|
),
|
|
body: new Center(
|
|
child: new Text("Hello World!"),
|
|
),
|
|
));
|
|
}
|
|
}
|