-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-webWeb applications specificallyWeb applications specifically
Milestone
Description
Steps to Reproduce
This issue manifests in the default starter app.
- Run
flutter create whatever. - Run
flutter run -d webinsidewhatever. - Point your iOS Safari to the
localhost:portthat the previous command instructs. - Click on the
+FloatingActionButton.
Expected results:
I'd expect the number of times I pushed the button to increment on the screen.
Actual results:
The number doesn't update. The onPressed handler is never executed.
Logs
flutter run --verbose -d web
...
[+9275 ms] Syncing files to device Web Server... (completed in 9,355ms, longer than expected)
[ +1 ms] Synced 20.8MB.
[ ] <- accept
[ +1 ms] lib/main.dart is being served at http://localhost:59886
[ +6 ms] Warning: Flutter's support for web development is not stable yet and hasn't
[ ] been thoroughly tested in production environments.
[ ] For more information see https://flutter.dev/web
[ +1 ms] 🔥 To hot restart changes while running, press "r". To hot restart (and refresh the browser), press "R".
[ +1 ms] For a more detailed help message, press "h". To quit, press "q".
(no errors)
flutter analyze
No issues found! (ran in 9.4s)
flutter doctor -v
[✓] Flutter (Channel master, v1.16.4-pre.80, on Mac OS X 10.15.3 19D76, locale
en-US)
• Flutter version 1.16.4-pre.80 at /Users/dit/lib/flutter
• Framework revision 77ea848c46 (59 minutes ago), 2020-04-02 10:57:37 -0700
• Engine revision 46277fd2ca
• Dart version 2.8.0 (build 2.8.0-dev.18.0 b177e44ffa)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup
for detailed instructions).
If the Android SDK has been installed to a custom location, set
ANDROID_SDK_ROOT to that location.
You may also want to add it to your PATH environment variable.
[!] Xcode - develop for iOS and macOS (Xcode 11.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.4, Build version 11E146
✗ CocoaPods installed but not working.
You appear to have CocoaPods installed but it is not working.
This can happen if the version of Ruby that CocoaPods was installed with is
different from the one being used to invoke it.
This can usually be fixed by re-installing CocoaPods. For more info, see
https://github.com/flutter/flutter/issues/14293.
To re-install CocoaPods, run:
sudo gem install cocoapods
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (not installed)
• Android Studio not found; download from
https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup
for detailed instructions).
[✓] VS Code (version 1.43.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.6.0
[✓] Connected device (3 available)
• iPhone 11 Pro Max • B64733F1-4499-48A7-BF73-FFD1E9BF008C • ios •
com.apple.CoreSimulator.SimRuntime.iOS-13-4 (simulator)
• Chrome • chrome • web-javascript • Google
Chrome 81.0.4044.83 beta
• Web Server • web-server • web-javascript • Flutter
Tools
Metadata
Metadata
Assignees
Labels
f: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-webWeb applications specificallyWeb applications specifically