This project was created when studying Youtube's course and is only used to record my own learning process.
The following is copy from 'https://www.dbestech.com/tutorials/flutter-payment-app-with-paypal'
Flutter payment app In this tutorial you will learn how to build a complete payment app in flutter.
This tutorial is divided into two sections. In the first section we covered the UI. And in the section we will see how to do the actual payment with backend.
Check out the link for the payment app starter code. It includes graphics and some basic starter dart file
https://www.dbestech.com/flutter_payment_app_2021_10_02.zip
and check out the video link here for first part of the series.
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Here you will learn how to build a payment app from scratch for iOS and Android using fltuter step by step.
Flutter payment app building will cover payment UI, payment with paypal and braintree and with backend api. This tutorial also cover complex ui building using stack widgets.
This is first part of the series where we covered the payment ui. Payment ui includes home page, payment history and payment page.
https://www.youtube.com/watch?time_continue=1380&v=RJW__xxu5vY&feature=emb_logo
In the first part we did the following
-
Building complext payment ui
-
Select with payment options with Getx
-
Make payment with paypal Braintree
-
Backend record of the payment
The widgets we have used are
-
Stack widgets
-
Positioned widgets
-
MediaQuery.removePadding
-
Container widgets
-
TextPainter widgets
-
TextSpan widgets
I just decode the local json file to the data, If you want do something likes backend service, you can try by yourself.
In the second part we did the following
-
Flutter service
-
Flutter Getx for data processing and building list.
-
Flutter Getx controller
-
Learn about flutter Future types
-
Build JSON Files
-
Read JSON files
-
Build data model
-
Build the backend
-
Build get API for the app
-
Build post API for the app and test with Postman