mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-09-21 16:02:05 +08:00
added: grid_layout
This commit is contained in:
21
grid_layout/lib/main.dart
Normal file
21
grid_layout/lib/main.dart
Normal file
@ -0,0 +1,21 @@
|
||||
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(
|
||||
// Here we take the value from the MyHomePage object that was created by
|
||||
// the App.build method, and use it to set our appbar title.
|
||||
title: new Text("GridView Example"),
|
||||
),
|
||||
body: new Container(
|
||||
child: new Center(child: new Text("Hello World")),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user