fluttercommunity / fluttercommunity/flutter_webview_plugin

WebviewScaffold exception after clicking back icon

未关闭
#89 4 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Java
星标
1.5k
派生
938
PR 合并指标
30 天内没有已合并 PR

描述

After open the webview with an `appBar`, I click on the back button and receive a exception from:

**File**: `broadcast_stream_controller.dart`

**Exception**:

![screen shot 2018-05-30 at 21 06 04](https://user-images.githubusercontent.com/457160/40754021-6671391c-644d-11e8-80f0-3d42ae049b76.png)

My Code:

```dart
onTap: () {
Navigator.push(
context,
new MaterialPageRoute(
builder: (context) => new WebviewScaffold(
url: widget.recipe.linkUrl,
appBar: new AppBar(title: new Text(widget.recipe.title)),
),
),
);
},
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先根据提供的 WebviewScaffold 代码复现报告的导航流程,然后在打开 webview 并点击 AppBar 返回按钮时检查 broadcast_stream_controller.dart。完成的标准是返回操作不再产生报告的异常;该 issue 未提及测试文件。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart
领域
mobile-dev
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。