fluttercommunity / fluttercommunity/flutter_webview_plugin

How do I remove the top padding for iOS?

Open
#644 16 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the scaffold.dart parameters mentioned in the issue and inspect how the WebView is placed relative to the iOS safe area. Reproduce the shown white top area on iOS, then verify that the WebView reaches the top edge without it. The issue provides no specific test or implementation file beyond scaffold.dart.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.