🐛 `ScaffoldPage.padding` only apply at top
- Dominant language
- Dart
- Stars
- 3.5k
- Forks
- 506
- Avg merge
- 11d 2h
- Merged PRs (30d)
- 3
Description
**Describe the bug**
When setting `ScaffoldPage.padding` to `EdgeInsets.all(100)`, it's only applied at the top of the content.
When looking at the code, it seems normal :
```
padding: widget.padding == null
? const EdgeInsetsDirectional.only(
top: kPageDefaultVerticalPadding,
)
: EdgeInsetsDirectional.only(top: widget.padding!.top),
```
**Expected behavior**
We would expect the padding to be applied completely
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the ScaffoldPage implementation and inspect the padding expression shown in the issue, starting with how widget.padding is converted to EdgeInsetsDirectional. Confirm that EdgeInsets.all(100) is applied on every side rather than only at the top, and verify the resulting layout with the existing ScaffoldPage usage or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100