Created
December 12, 2019 18:34
-
-
Save shubie/8e5d84cc62118a5e84f35232b035d87e 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
showPowerBottomSheet(BuildContext context) => showModalBottomSheet( | |
isScrollControlled: true, | |
context: context, | |
builder: (context) { | |
return Container( | |
height: 600, | |
color: Color(0xFF737373), | |
child: Container( | |
decoration: BoxDecoration( | |
color: Theme.of(context).canvasColor, | |
borderRadius: BorderRadius.only( | |
topLeft: const Radius.circular(20), | |
topRight: const Radius.circular(20), | |
)), | |
child: Column( | |
children: <Widget>[ | |
viewMoreButtons( | |
"Close Transaction", () => {Navigator.pop(context)}), | |
SizedBox(height: 10), | |
listItemContainer("Date of Transaction", "17th April, 2019"), | |
listItemContainer("Transaction References", "KED12435353636"), | |
listItemContainer("Token", "1234 5668 4657 3849"), | |
listItemContainer("Account Type", "Prepaid"), | |
], | |
), | |
), | |
); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment