Last active
January 4, 2019 01:51
-
-
Save KickedDroid/58d1bdeb864b5b01d06655e73ca836fc to your computer and use it in GitHub Desktop.
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
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