'First file created with Flutter leads to white screen
I got Flutter installed. No problems with flutter doctor. Installed Dart en Flutter in Android Studio, opened a new Flutter project and chose for Flutter (and flutter dir) and wanted to try my first code in main.dart:
void main() {
print('hello world');
}
When I try to run in Windows and browsers, they show a white screen. Also the terminal doesn't show any errors. Opening in a VDE does show some errors, but also finally leads to a white screen.
Anyone who can help me? I got the latest versions of Flutter and Android Studio. Running Android projects (with Kotlin) doesn't lead to any problems.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|