Flutter Chrome Web
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Reproduce the failure in the default Flutter Chrome Web project using flutter_google_places: ^0.2.3. Start at packages/flutter_google_places/src/flutter_google_places.dart around line 447 and inspect the PlacesAutocompleteWidget path that triggers the platform error. Done means Search places opens in Chrome without the UnsupportedError or null-boolean assertion.
Written by the indexing model from the issue text.
Description
When I click on Search places in the default project from here - I'm using flutter_google_places: ^0.2.3 in pubspec
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following UnsupportedError was thrown building PlacesAutocompleteWidget(dirty, dependencies: [_InheritedTheme, _LocalizationsScope-[GlobalKey#c60ed]], state: _PlacesAutocompleteOverlayState#914fb):
Unsupported operation: Platform._operatingSystem
When the exception was thrown, this was the stack:
package:build_web_compilers/src/dev_compiler/C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 196:49 throw
package:build_web_compilers/src/dev_compiler/C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 241:5 _operatingSystem
package:build_web_compilers/src/dev_compiler/C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/io/platform_impl.dart 62:40 get operatingSystem
package:build_web_compilers/src/dev_compiler/C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/io/platform.dart 73:45 get _operatingSystem
package:build_web_compilers/src/dev_compiler/C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/utils.dart 77:6 get
...
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (2) Exception caught by widgets library ═══════════════════════════════════════════════════
Failed assertion: boolean expression must not be null
The relevant error-causing widget was:
PlacesAutocompleteWidget org-dartlang-app:///packages/flutter_google_places/src/flutter_google_places.dart:447:43
════════════════════════════════════════════════════════════════════════════════════════════════════
- Dominant language
- Dart
- Stars
- 311
- Forks
- 458
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fluttercommunity/flutter_google_places
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
fluttercommunity/flutter_google_places#231 · 4 comments · 4 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
fluttercommunity/flutter_google_places#230 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
fluttercommunity/flutter_google_places#225 · 5 comments · 4 reactions ·
All issues in fluttercommunity/flutter_google_places
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
atsign-foundation/at_server#2896 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
lugassawan/swe-workbench#823 ·
Maintainers usually reply within 1 day
-
auto-implement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bannzai/kashakeibo#142 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
meddouribadis/arclauncher#53 ·
Maintainers usually reply within 1 day
-
p: material_ui package team-design
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
flutter/flutter#195096 · 1 comment ·
Maintainers usually reply within 1 day