fluttercommunity / fluttercommunity/backdrop

BoxShadow on front layer

Open
#126 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
347
Forks
36
PR merge metrics
No merged PRs in 30d

Description

In my app, due to the chosen colors, the front- and back layer are not very clearly distinguishable. Therefore, I would like to introduce a `BoxShadow` on the front layer.

If I change the existing `frontLayerElevation` on `BackdropScaffold`, it doesn't seem to have any effect on shadow.
immagine
I would expect the shadow to show on top of the front layer, but it is by default showing below it, where it is not visible.

@daadu do you think we could add that? I will prepare a PR...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the BackdropScaffold implementation and trace how frontLayerElevation is applied to the front layer. Check the existing widget behavior and determine how a BoxShadow can appear above that layer; done means the shadow visibly separates the front and back layers without breaking existing elevation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.