Last active
January 3, 2019 13:30
-
-
Save shubie/11630ea2e9bcd1cb3cf932420a7dd59b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Card topArea() => Card( | |
margin: EdgeInsets.all(10.0), | |
elevation: 1.0, | |
shape: RoundedRectangleBorder( | |
borderRadius: BorderRadius.all(Radius.circular(50.0))), | |
child: Container( | |
decoration: BoxDecoration( | |
gradient: RadialGradient( | |
colors: [Color(0xFF015FFF), Color(0xFF015FFF)])), | |
padding: EdgeInsets.all(5.0), | |
// color: Color(0xFF015FFF), | |
child: Column( | |
children: <Widget>[ | |
Row( | |
mainAxisAlignment: MainAxisAlignment.spaceBetween, | |
children: <Widget>[ | |
IconButton( | |
icon: Icon( | |
Icons.arrow_back, | |
color: Colors.white, | |
), | |
onPressed: () {}, | |
), | |
Text("Savings", | |
style: TextStyle(color: Colors.white, fontSize: 20.0)), | |
IconButton( | |
icon: Icon( | |
Icons.arrow_forward, | |
color: Colors.white, | |
), | |
onPressed: () {}, | |
) | |
], | |
), | |
Center( | |
child: Padding( | |
padding: EdgeInsets.all(5.0), | |
child: Text(r"$ " "95,940.00", | |
style: TextStyle(color: Colors.white, fontSize: 24.0)), | |
), | |
), | |
SizedBox(height: 35.0), | |
], | |
)), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment