Last active
January 12, 2022 09:32
-
-
Save GeekyGeeky/89f7ad64b08564445e356c358145ffd4 to your computer and use it in GitHub Desktop.
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
Theme( | |
// use themedata to alter the styling of the child widgets | |
data: ThemeData(primarySwatch: Colors.purple), | |
child: Builder(builder: (c) { | |
return FlatProgressButton( | |
onPressed: () async { | |
_paystackDialog(c); | |
}, | |
label: "Pay with Card", | |
isBusy: false, | |
color: Colors.transparent, | |
textColor: DirechargeColor.primaryColor, | |
border: BorderSide( | |
color: DirechargeColor.primaryColor, width: 2.0), | |
); | |
}), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment