Created
January 4, 2019 01:10
-
-
Save KickedDroid/7898b095310d16431b25790bf96d1ecb 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
child: new Material( | |
borderRadius: BorderRadius.circular(10.0), | |
elevation: 0.0, | |
shadowColor: Color(0xFFFFAFBD), | |
child: new Container( | |
height: 500.0, | |
width: 350.0, | |
decoration: BoxDecoration( | |
boxShadow: [ | |
new BoxShadow( | |
color: Color(0xFFFFAFBD), | |
offset: new Offset(0.0, 10.0), | |
blurRadius: 10.0, | |
spreadRadius: 1.0) | |
], | |
gradient: LinearGradient( | |
colors: [Color(0xFFffc3a0), Color(0xFFFFAFBD)]), | |
borderRadius: BorderRadius.circular(10.0)), | |
child: Padding( | |
padding: const EdgeInsets.all(8.0), | |
child: Column( | |
children: <Widget>[ | |
new SizedBox( | |
height: 260, | |
width: 350, | |
child: ScopedModelDescendant<MainModel>( | |
builder: (context, child, model) { | |
return typeWriterText(); | |
}), | |
), | |
new SizedBox( | |
height: 50.0, | |
width: 20.0, | |
), | |
new Row( | |
crossAxisAlignment: CrossAxisAlignment.center, | |
mainAxisAlignment: | |
MainAxisAlignment.spaceEvenly, | |
children: <Widget>[ | |
new Icon( | |
Icons.thumb_up, | |
color: Colors.white, | |
size: 72.0, | |
), | |
new Icon( | |
Icons.thumb_down, | |
color: Colors.white, | |
size: 72.0, | |
) | |
], | |
), | |
Padding( | |
padding: const EdgeInsets.all(15.0), | |
child: new Text( | |
'Tell me a bit about how you feel and maybe I can help.', | |
textAlign: TextAlign.center, | |
style: TextStyle( | |
fontSize: 18.0, | |
color: Colors.white, | |
fontWeight: FontWeight.w300, | |
fontFamily: 'Montserrat'), | |
), | |
), | |
], | |
), | |
), | |
), | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment