merchant_app 1.0.5 merchant_app: ^1.0.5 copied to clipboard
Flutter plugin for integrating a HP PAY into your app
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add merchant_app
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
merchant_app: ^1.0.5
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:merchant_app/api/network/base_url.dart';
import 'package:merchant_app/hp_pay_pump_list_project.dart';
import 'package:merchant_app/hp_pay_pump_list_project_method_channel.dart';
import 'package:merchant_app/hp_pay_pump_list_project_platform_interface.dart';
import 'package:merchant_app/screens/my_plugin.dart';
import 'package:merchant_app/screens/nozzle_screen.dart';
import 'package:merchant_app/screens/pump_list_screen.dart';
import 'package:merchant_app/screens/send_sms_screen.dart';
import 'package:merchant_app/screens/sms/send_sms_screen.dart';
import 'package:merchant_app/screens/transaction_list_screen.dart';
import 'package:merchant_app/utils/colors.dart';
import 'package:merchant_app/widget/transaction_card.dart';