mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-11-09 04:58:58 +00:00
🚧 remove new keyword to get inline with dart 2 code standard.
This commit is contained in:
@@ -2,13 +2,13 @@ import 'package:flutter/material.dart';
|
||||
import 'package:using_listview/contact_page.dart';
|
||||
|
||||
void main() {
|
||||
runApp(new MaterialApp(
|
||||
runApp(MaterialApp(
|
||||
debugShowCheckedModeBanner: false,
|
||||
home: new Scaffold(
|
||||
appBar: new AppBar(
|
||||
title: new Text("Using Listview"),
|
||||
home: Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text("Using Listview"),
|
||||
),
|
||||
body: new ContactPage(),
|
||||
body: ContactPage(),
|
||||
),
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user