Last active
January 20, 2019 09:32
-
-
Save shubie/1dea49cf3c0926bf159be64c36e95954 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
class CryptoWallet extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
body: SingleChildScrollView( | |
child: Stack( | |
children: <Widget>[ | |
Column( | |
children: <Widget>[ | |
Container( | |
decoration: BoxDecoration( | |
gradient: LinearGradient( | |
colors: [ | |
const Color(0xFF81269D), | |
const Color(0xFFEE112D) | |
], | |
begin: Alignment.centerLeft, | |
end: Alignment.centerRight, | |
// stops: [0.0, 0.1], | |
), | |
), | |
height: MediaQuery.of(context).size.height * .40, | |
padding: EdgeInsets.only(top: 55, left: 20, right: 20), | |
), | |
Container( | |
height: MediaQuery.of(context).size.height * .75, | |
color: Colors.grey, | |
) | |
], | |
), | |
], | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment