CheckoutPage constructor

CheckoutPage({
  1. Key? key,
  2. required CheckoutData data,
  3. Widget? footer,
})

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) {}