Created
July 23, 2020 05:01
-
-
Save kleberksms/2b0e8be3a671836cd214efb24ceb01ad 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
Container( | |
child: Table( | |
border: TableBorder( | |
left: BorderSide( | |
width: 1, | |
color: Color(0xFFB1B1B1), | |
style: BorderStyle.solid, | |
), | |
right: BorderSide( | |
width: 1, | |
color: Color(0xFFB1B1B1), | |
style: BorderStyle.solid, | |
), | |
bottom: BorderSide( | |
width: 1, | |
color: Color(0xFFB1B1B1), | |
style: BorderStyle.solid, | |
), | |
top: BorderSide( | |
width: 1, | |
color: Color(0xFFB1B1B1), | |
style: BorderStyle.solid, | |
), | |
), | |
columnWidths: { | |
0: FlexColumnWidth(2.0), | |
1: FlexColumnWidth(1.0), | |
}, | |
children: [ | |
TableRow( | |
decoration: BoxDecoration( | |
color: Color(0xFF2D59A2), | |
), | |
children: [ | |
TableCell( | |
child: Padding( | |
padding: EdgeInsets.only( | |
left: 10, | |
bottom: 2.5, | |
top: 2.5, | |
right: 10, | |
), | |
child: Text( | |
'01/01/2020 12:35 NFC-e #3', | |
style: new TextStyle( | |
fontSize: 15, | |
color: Colors.white, | |
fontFamily: 'Roboto-Bold', | |
), | |
textAlign: TextAlign.left, | |
), | |
), | |
), | |
TableCell( | |
child: Padding( | |
padding: EdgeInsets.only( | |
left: 10, | |
bottom: 2.5, | |
top: 2.5, | |
right: 10, | |
), | |
child: Align( | |
alignment: Alignment.centerRight, | |
child: Text( | |
"R\$ 100,00", | |
style: new TextStyle( | |
fontSize: 15, | |
color: Colors.white, | |
fontFamily: 'Roboto-Bold', | |
), | |
), | |
), | |
), | |
), | |
], | |
), | |
TableRow( | |
decoration: BoxDecoration( | |
color: Color(0xFF2D59A2), | |
), | |
children: [ | |
TableCell( | |
child: Padding( | |
padding: EdgeInsets.only( | |
left: 10, | |
bottom: 2.5, | |
top: 2.5, | |
right: 10, | |
), | |
child: Text( | |
'Festival Centro Cívico - Loja 03', | |
style: new TextStyle( | |
fontSize: 12, | |
color: Colors.white, | |
fontFamily: 'Roboto', | |
), | |
textAlign: TextAlign.left, | |
), | |
), | |
), | |
TableCell( | |
child: Padding( | |
padding: EdgeInsets.only( | |
left: 10, | |
bottom: 2.5, | |
top: 2.5, | |
right: 10, | |
), | |
child: Align( | |
alignment: Alignment.centerRight, | |
child: Text( | |
"12 Items", | |
style: new TextStyle( | |
fontSize: 12, | |
color: Colors.white, | |
fontFamily: 'Roboto', | |
), | |
), | |
), | |
), | |
), | |
], | |
), | |
], | |
), | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment