Closed
Description
You can see that it says return MaterialApp(
which should just be either return MaterialApp
or MaterialApp
, also in the bottom it is putting the whole definition of the class which looks odd.
This is how it looks using VS Code with the official Flutter plugin:
That's not really important as much as this next thing which is really Flutter/Dart specific, I think. Here several things can be improved:
<Widget>[
This is missing the closing bracket.child: Column(
this should be justColumn
body: Center(
same as the previous- you can see
FloatingActionButton
isn't showing the biscuit (with or without the comment) which is kind of weird because it is the same as the previous Column and Center classes.
Official Flutter plugin:
Metadata
Metadata
Assignees
Labels
No labels