The issue:
It seems that with the most recent Beta release 1.26 (Feb 2021), the default renderer
seems to have switched from html
to canvaskit
.
Fix:
When working in Web
, use the html
renderer instead of the canvaskit
. This is how:
- If you "run" from command line, use this:
flutter run -d chrome --web-renderer html
- If you use Android Studio: Go to
Run/ Run.../ Edit Configurations.../
, then in Additional arguments
add this --web-renderer html
.
Dont forget to "mark" answer if this helped ;0)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…