1
0
mirror of https://github.com/nisrulz/flutter-examples.git synced 2025-11-08 20:50:04 +00:00

🚧 remove new keyword to get inline with dart 2 code standard.

This commit is contained in:
Nishant Srivastava
2019-07-23 03:42:56 +02:00
parent e8b433c00d
commit 6d56bfc5d4
45 changed files with 438 additions and 438 deletions

View File

@@ -5,13 +5,13 @@ class AccountScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
title: new Text("Account"),
return Scaffold(
appBar: AppBar(
title: Text("Account"),
),
body: new Container(
child: new Center(
child: new Text("Account Screen"),
body: Container(
child: Center(
child: Text("Account Screen"),
)),
);
}