checkout_form - Tweaked Button placement

This commit is contained in:
Matthew Patrick 2022-05-23 09:37:45 +07:00
parent 0413e1d7f1
commit 28d737ae0c

View file

@ -238,7 +238,7 @@ class _CheckoutFormState extends State<CheckoutForm> {
),
),
const SizedBox(
height: 10,
height: 20,
),
],
),
@ -257,7 +257,8 @@ class _CheckoutFormState extends State<CheckoutForm> {
if (isLoggedIn) {
submitForm(context).then((statusCode) {
if (statusCode == 201) {
Navigator.pushReplacementNamed(context, '/payment');
Navigator.pushReplacementNamed(
context, '/payment');
} else if (statusCode == 999) {
showAlertDialog(context);
}
@ -301,7 +302,7 @@ Widget makeInput({label, obscureText = false, icon, keyboardType}) {
fontSize: 12, fontWeight: FontWeight.bold, color: Colors.white),
),
const SizedBox(
height: 5,
height: 10,
),
Container(
decoration: BoxDecoration(