Fixes build (tests), adding ditance method to position, fix linting (formating, quotes), removed uneeded new keywords everywhere

This commit is contained in:
Luan Nico
2019-03-10 15:17:53 -03:00
parent ee429d2cd4
commit 9c69937b5b
35 changed files with 165 additions and 165 deletions

View File

@ -23,14 +23,14 @@ class MyHomePage extends StatefulWidget {
class _MyHomePageState extends State<MyHomePage> {
void _clickFab(GlobalKey<ScaffoldState> key) {
key.currentState.showSnackBar(new SnackBar(
content: new Text('You clicked the FAB!'),
key.currentState.showSnackBar(SnackBar(
content: Text('You clicked the FAB!'),
));
}
@override
Widget build(BuildContext context) {
final key = new GlobalKey<ScaffoldState>();
final key = GlobalKey<ScaffoldState>();
return Scaffold(
key: key,
appBar: AppBar(