Created
February 5, 2022 13:24
-
-
Save saliouseck2009/d2aea8baa514211279ce35a5a1344277 to your computer and use it in GitHub Desktop.
Add elevation to Container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Material( | |
elevation: 10, | |
borderRadius: BorderRadius.all(Radius.circular(50)), | |
child: Container( | |
height: 100, | |
width: 200, | |
decoration: BoxDecoration( | |
color: Colors.amber, | |
borderRadius: BorderRadius.all(Radius.circular(50)), | |
), | |
), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment