I recently observed a bug in vscode while working with flutter.
When I use vscode run button to run my flutter app, the root widget is building twice, which is completely against the workflow.
When i run the same code using terminal commands [ flutter run ] everything goes fine with no extra builds.
Please solve this issue