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:
@@ -28,6 +28,6 @@ class ContactPage extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return new Scaffold(body: new ContactsList(_buildContactList()));
|
||||
return Scaffold(body: ContactsList(_buildContactList()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user