Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elevation not working #11

Closed
dmrcierhn opened this issue Dec 25, 2020 · 1 comment
Closed

elevation not working #11

dmrcierhn opened this issue Dec 25, 2020 · 1 comment
Labels
question Further information is requested

Comments

@dmrcierhn
Copy link

I want to use elevation but it doesn't work for me. I tried on emulator and real device but no results. how can i use ? Thank you

@rickywen911
Copy link
Owner

@dmrcierhn Thanks for using my package.
I tried change the elevation value in the constructor of NavBar but it seems that the elevation was very unclear when I set the value larger than 30. It seems that elevation in the constructor can only control if elevation to show or not.
This is app bar without elevation
noelevation
This is app bar with elevation
8elevation
I searched the stackoverflow and got this answer https://stackoverflow.com/questions/53299232/elevation-not-working-on-flutter-material
So if you want a stronger elevation, You can try to use BoxDecoration to rewrite this package.
Thanks again.

@rickywen911 rickywen911 added the question Further information is requested label Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants