Skip to content

Instantly share code, notes, and snippets.

@saliouseck2009
Created February 5, 2022 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saliouseck2009/d2aea8baa514211279ce35a5a1344277 to your computer and use it in GitHub Desktop.
Save saliouseck2009/d2aea8baa514211279ce35a5a1344277 to your computer and use it in GitHub Desktop.
Add elevation to Container
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