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
| Container( | |
| alignment: Alignment.topCenter, | |
| padding: new EdgeInsets.only( | |
| top: MediaQuery.of(context).size.height * .25, | |
| right: 10.0, | |
| left: 10.0), | |
| child: new Container( | |
| height: MediaQuery.of(context).size.height, | |
| width: MediaQuery.of(context).size.width, | |
| ), |
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
| child: Column( | |
| children: <Widget>[ | |
| Row( | |
| mainAxisAlignment: MainAxisAlignment.spaceBetween, | |
| children: <Widget>[ | |
| IconButton( | |
| icon: Icon( | |
| Icons.menu, | |
| color: Colors.white, | |
| ), |
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>[ |
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
| return Scaffold( | |
| body: SingleChildScrollView( | |
| child: Stack( | |
| children: <Widget>[], | |
| ), | |
| ), | |
| ); |
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
| import 'package:flutter/material.dart'; | |
| void main() => runApp(new MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return new MaterialApp( | |
| title: 'Crypto Wallet', | |
| home: CryptoWallet(), |
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
| bottomNavigationBar: BottomAppBar( | |
| elevation: 0.0, | |
| child: Container( | |
| margin: EdgeInsets.symmetric(vertical: 20.0), | |
| child: Row( | |
| mainAxisSize: MainAxisSize.max, | |
| mainAxisAlignment: MainAxisAlignment.spaceAround, | |
| children: <Widget>[ | |
| FlatButton( | |
| padding: |
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
| Container accountItems( | |
| String item, String charge, String dateString, String type, | |
| {Color oddColour = Colors.white}) => | |
| Container( | |
| decoration: BoxDecoration(color: oddColour), | |
| padding: | |
| EdgeInsets.only(top: 20.0, bottom: 20.0, left: 5.0, right: 5.0), | |
| child: Column( | |
| children: <Widget>[ | |
| Row( |
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
| SizedBox( | |
| height: 40.0, | |
| child: Icon( | |
| Icons.refresh, | |
| size: 35.0, | |
| color: Color(0xFF015FFF), | |
| ), | |
| ) |
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
| SizedBox( | |
| height: 40.0, | |
| child: Icon( | |
| Icons.refresh, | |
| size: 35.0, | |
| color: Color(0xFF015FFF), | |
| ), | |
| ) |
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
| displayAccoutList() { | |
| return Container( | |
| margin: EdgeInsets.all(15.0), | |
| child: Column( | |
| children: <Widget>[ | |
| accountItems("Trevello App", r"+ $ 4,946.00", "28-04-16", "credit", | |
| oddColour: const Color(0xFFF7F7F9)), | |
| accountItems( | |
| "Creative Studios", r"+ $ 5,428.00", "26-04-16", "credit"), | |
| accountItems("Amazon EU", r"+ $ 746.00", "25-04-216", "Payment", |