CheckoutPage constructor
CheckoutPage({
- Key? key,
- required CheckoutData data,
The CheckoutPage widget is a stateless widget resembling your typical checkout page and some typical option along with some helpful features such as built-in form validation and credit card icons that update based on the input provided. This is a UI widget only and holds no responsibility and makes no guarantee for transactions using this ui. Transaction security and integrity is the responsibility of the developer and what ever Third-party transaction api that developer is using. A great API to use is Stripe
Implementation
CheckoutPage({Key? key, required this.data, this.footer})
: _viewModel = _CheckoutViewModel(data: data),
super(key: key) {}