Created
June 21, 2022 18:32
-
-
Save vijayinyoutube/69ecd5b85cedc47b31649ff8ff62a6d5 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
ElevatedButton( | |
style: ElevatedButton.styleFrom( | |
elevation: 0, | |
primary: primaryColor, | |
minimumSize: const Size(double.infinity, 50), | |
shape: RoundedRectangleBorder( | |
borderRadius: BorderRadius.circular(10.0), | |
), | |
), | |
child: Text( | |
'${(showPayBtn ? 'Proceed to pay' : 'Checkout')} ', | |
style: const TextStyle(color: Colors.black), | |
), | |
onPressed: () => _changeOpacity(), | |
, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment