Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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:,
onPressed: () => _changeOpacity(),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment