mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-06-07 05:59:49 +08:00
20 lines
437 B
Dart
20 lines
437 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
void main() => runApp(new MyApp());
|
|
|
|
class MyApp extends StatelessWidget {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return new MaterialApp(
|
|
home: new Scaffold(
|
|
appBar: new AppBar(
|
|
title: new Text("DropDown Button Example"),
|
|
),
|
|
body: new Container(
|
|
child: new Center(child: new Text("Hello World")),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|