fluttercommunity / fluttercommunity/flutter_webview_plugin

How do I remove the top padding for iOS?

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

描述

Hi, I'm quite new to flutter and programming in general. I'm wondering how to remove the top padding that is present for iOS. I looked in scaffold.dart but I'm quite confused on which parameters to adjust. Ideally, I'd like my WebViews scaffold to fill into the safe area. I'd like the WebView to extend right to the top of the phone. Would like there to be no white area as shown in the photo.
Screen Shot 2020-01-12 at 9 24 20 AM

Thanks!

贡献指南

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

调研方向

从 issue 中提到的 scaffold.dart 参数开始,检查 WebView 相对于 iOS 安全区域的放置方式。在 iOS 上复现所示的顶部白色区域,然后验证没有该区域时 WebView 能够延伸到顶部边缘。该 issue 除了 scaffold.dart 之外没有提供具体的测试文件或实现文件。

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

评估

技术栈
flutter
领域
mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

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