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
.... | |
@override | |
Widget build(BuildContext context) { | |
final dots = Hero( | |
tag: 'hero', | |
child: Image.asset('assets/icons/dots.png', scale: 3), | |
); | |
final icon = Hero( |
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
@override | |
Widget build(BuildContext context) { | |
///more code above | |
final humidityc = LinearProgressIndicator( | |
backgroundColor: Colors.white24, | |
value: 92, | |
); | |
/// Our Layout Build |
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
///More code above | |
//Row for more weathr details (ROW 7) | |
Row( | |
mainAxisAlignment: MainAxisAlignment.start, | |
mainAxisSize: MainAxisSize.max, | |
children: <Widget>[ | |
Column( | |
children: <Widget>[ | |
SizedBox(height: 54), |
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
//OUR SEVEN ROWS' LAYOUT | |
Column( | |
children: <Widget>[ | |
SizedBox(height: 32), | |
//Row for menu icon (ROW 1) | |
Row( | |
mainAxisAlignment: MainAxisAlignment.end, | |
mainAxisSize: MainAxisSize.max, | |
children: <Widget>[ |
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
import 'package:flutter/material.dart'; | |
import 'package:card/utils/margin_utils.dart'; | |
class CardWidget extends StatelessWidget { | |
final String amount; | |
final String name; | |
final String expiry; | |
const CardWidget({Key key, @required this.amount, @required this.name, @required this.expiry}); |
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
import 'package:flutter/material.dart'; | |
import 'package:card/utils/margin_utils.dart'; | |
class CardWidget extends StatelessWidget { | |
final String amount; | |
final String name; | |
final String expiry; | |
const CardWidget({Key key, @required this.amount, @required this.name, @required this.expiry}); | |
} |
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
... | |
@override | |
Widget build(BuildContext context) { | |
return Padding( | |
padding: EdgeInsets.symmetric(horizontal: 10), | |
child: Container( | |
height: 50, | |
padding: EdgeInsets.only(bottom: 20), | |
decoration: new BoxDecoration( | |
image: new DecorationImage( |
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
... | |
_buildTitle() => Row( | |
mainAxisAlignment: MainAxisAlignment.start, | |
children: <Widget>[ | |
Row( | |
mainAxisAlignment: MainAxisAlignment.start, | |
children: <Widget>[ | |
Text( | |
'D E B I T', |
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
... | |
_buildName() => Row( | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: <Widget>[ | |
Column( | |
crossAxisAlignment: CrossAxisAlignment.start, | |
children: <Widget>[ | |
Text( | |
'CARD HOLDER', | |
style: TextStyle( |
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
... | |
_buildExpiry() => | |
Row(mainAxisAlignment: MainAxisAlignment.spaceBetween, children: <Widget>[ | |
Column(crossAxisAlignment: CrossAxisAlignment.end, children: <Widget>[ | |
Text( | |
'EXPIRES', | |
style: TextStyle( | |
fontSize: 12, color: Colors.white, fontWeight: FontWeight.w200), | |
), |
OlderNewer