Skip to content

Flutter support #1

Closed
Closed
@hatem-u

Description

@hatem-u

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:

  1. <Widget>[ This is missing the closing bracket.
  2. child: Column( this should be just Column
  3. body: Center( same as the previous
  4. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions