checkout_screen_ui 1.0.1 checkout_screen_ui: ^1.0.1 copied to clipboard
A pre built UI representing a checkout screen that is meant to be coupled with your own logic.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add checkout_screen_ui
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
checkout_screen_ui: ^1.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:checkout_screen_ui/checkout_page/charge_amount_display.dart';
import 'package:checkout_screen_ui/checkout_page/checkout_data.dart';
import 'package:checkout_screen_ui/checkout_page/checkout_page.dart';
import 'package:checkout_screen_ui/checkout_page/checkout_view_model.dart';
import 'package:checkout_screen_ui/checkout_page/list_of_charges.dart';
import 'package:checkout_screen_ui/checkout_page/price_list_item.dart';
import 'package:checkout_screen_ui/checkout_page/tax_item.dart';
import 'package:checkout_screen_ui/checkout_ui.dart';
import 'package:checkout_screen_ui/credit_form/credit_card_form.dart';
import 'package:checkout_screen_ui/credit_form/validation.dart';
import 'package:checkout_screen_ui/models/card_form_results.dart';
import 'package:checkout_screen_ui/models/checkout_result.dart';
import 'package:checkout_screen_ui/models/price_item.dart';
import 'package:checkout_screen_ui/ui_components/footer.dart';
import 'package:checkout_screen_ui/ui_components/pay_button.dart';