fluttercommunity / fluttercommunity/flutter_webview_plugin
How do I remove the top padding for iOS?
- 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.

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