merchant_app 0.0.2 merchant_app: ^0.0.2 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 Dart:
$ dart pub add merchant_app
With Flutter:
$ flutter pub add merchant_app
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
merchant_app: ^0.0.2
Alternatively, your editor might support dart pub get
or 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/models/login_request.dart';
import 'package:merchant_app/api/models/login_response.dart';
import 'package:merchant_app/api/screens/app_constants.dart';
import 'package:merchant_app/api/screens/colors.dart';
import 'package:merchant_app/api/screens/pump_list_screen.dart';
import 'package:merchant_app/api/screens/temp.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/temp.dart';