mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-09-20 14:56:48 +08:00
updated: using_listview example with working implementation
This commit is contained in:
@ -1,19 +1,13 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:using_listview/contact_page.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(
|
||||
void main() {
|
||||
runApp(new MaterialApp(
|
||||
home: new Scaffold(
|
||||
appBar: new AppBar(
|
||||
title: new Text("Using Listview"),
|
||||
),
|
||||
body: new Center(
|
||||
child: new Text("Hello World!"),
|
||||
),
|
||||
));
|
||||
}
|
||||
body: new ContactPage(),
|
||||
),
|
||||
));
|
||||
}
|
||||
|
Reference in New Issue
Block a user