Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Hot Restart broken on Flutter Web with --web-renderer html #109093

@NkITaa

Description

@NkITaa

So I Updated my Flutter today.

I can run my Flutter Web with

flutter run -d chrome --web-renderer html

without a problem. But when I want to hot restart it I just get a white screen.

These are all of the versions of flutter, dart etc. that Im using

Flutter 3.1.0-0.0.pre.2127 • channel master •
https://github.com/flutter/flutter.git
Framework • revision 792a582 (2 hours ago) • 2022-08-06 13:20:08
-0400
Engine • revision a195b6b
Tools • Dart 2.19.0 (build 2.19.0-72.0.dev) • DevTools 2.16.0

I even created a whole new flutter web project with:

flutter create testigo
cd testigo
flutter run -d chrome --web-renderer html

and the problem persisted. So I saw the default starting screen of any new flutter project but it was not responsive. I couldn't click the increment button after hot restart

I ran flutter doctor and everything seems good as well:

[✓] Flutter (Channel master, 3.1.0-0.0.pre.2127, on macOS 12.5 21G72 darwin-x64,
locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[!] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS
development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.70.0)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressionc: regressionIt was better in the past than it is nowe: web_htmlHTML rendering backend for Webfound in release: 3.0Found to occur in 3.0found in release: 3.1Found to occur in 3.1has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versiont: hot reloadReloading code during "flutter run"toolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions