Runtime exception when running as Linux desktop app
- Dominant language
- Dart
- Stars
- 2.5k
- Forks
- 130
- PR merge metrics
- No merged PRs in 30d
Description
Trying to run on Linux desktop (Ubuntu 24), no Android studio, just flutter and its dependencies installed.
App loads and I can search books and click on covers, but when I click add to library I get a red screen:
```
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY
╞═══════════════════════════════════════════════════════════
The following assertion was thrown building Webview(dirty, state:
_WebviewState#ff767):
A platform implementation for `flutter_inappwebview` has not been set. Please
ensure that an
implementation of `InAppWebViewPlatform` has been set to
`InAppWebViewPlatform.instance` before use.
For unit testing, `InAppWebViewPlatform.instance` can be set with your own test
implementation.
'package:flutter_inappwebview_platform_interface/src/in_app_webview/platform_ina
ppwebview_widget.dart':
Failed assertion: line 215 pos 7: 'InAppWebViewPlatform.instance != null'
The relevant error-causing widget was:
Webview Webview:file:///home/df/Openlib/lib/ui/book_info_page.dart:230:32
```
Contributor guide
Assessment
This issue has not been assessed yet.