Skip to content

Instantly share code, notes, and snippets.

@KickedDroid
Last active January 4, 2019 01:51
Show Gist options
  • Save KickedDroid/58d1bdeb864b5b01d06655e73ca836fc to your computer and use it in GitHub Desktop.
Save KickedDroid/58d1bdeb864b5b01d06655e73ca836fc to your computer and use it in GitHub Desktop.
new Material (
borderRadius: BorderRadius.circular(10.0),
elevation: 0.0,
child: new Container(
height: 500.0,
width: 350.0,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(10.0),
// the box shawdow property allows for fine tuning as aposed to shadowColor
boxShadow: [
new BoxShadow(
color: Color(0xFFFFAFBD),
// offset, the X,Y coordinates to offset the shadow
offset: new Offset(0.0, 10.0),
// blurRadius, the higher the number the more smeared look
blurRadius: 10.0,
spreadRadius: 1.0)],
),
// child: Text("This is where your content goes")
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment