Created
December 12, 2019 18:21
-
-
Save shubie/8e3743b1c3bfd3f5b1d37b3ad813f50e 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
Padding( | |
padding: const EdgeInsets.fromLTRB(50, 5, 50, 5), | |
child: SizedBox( | |
width: double.infinity, | |
child: blueButton( | |
"Copy Token", | |
() { | |
Clipboard.setData( | |
new ClipboardData(text: "4671-0884-7276-4345-8709")); | |
Flushbar( | |
title: "Ok", | |
message: "Token copied successfully", | |
duration: Duration(seconds: 3), | |
)..show(context); | |
}, | |
), | |
), | |
), | |
SizedBox(height: 10), | |
Padding( | |
padding: const EdgeInsets.fromLTRB(50, 5, 50, 5), | |
child: SizedBox( | |
width: double.infinity, | |
child: blueButton("Go Home", () => {}))), | |
Expanded( | |
child: Align( | |
alignment: Alignment.bottomCenter, | |
child: viewMoreButtons("View Transaction Details", | |
() => {showPowerBottomSheet(context)}), | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment