Skip to content

Instantly share code, notes, and snippets.

@shubie
Last active January 20, 2019 09:32
Show Gist options
  • Save shubie/1dea49cf3c0926bf159be64c36e95954 to your computer and use it in GitHub Desktop.
Save shubie/1dea49cf3c0926bf159be64c36e95954 to your computer and use it in GitHub Desktop.
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