flutter_pay_upi 0.2.1 flutter_pay_upi: ^0.2.1 copied to clipboard
Create app with UPI (Unified Payments Interface)
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_pay_upi
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_pay_upi: ^0.2.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:flutter_pay_upi/flutter_pay_upi_manager.dart';
import 'package:flutter_pay_upi/model/ios_upi_app.dart';
import 'package:flutter_pay_upi/model/request_parameters.dart';
import 'package:flutter_pay_upi/model/upi_app_model.dart';
import 'package:flutter_pay_upi/model/upi_ios_model.dart';
import 'package:flutter_pay_upi/model/upi_response.dart';
import 'package:flutter_pay_upi/service/flutter_native_upi.dart';
import 'package:flutter_pay_upi/service/get_upi_app_list.dart';
import 'package:flutter_pay_upi/service/upi_request_from_url.dart';
import 'package:flutter_pay_upi/utils/exception.dart';
import 'package:flutter_pay_upi/utils/widget/upi_app_list.dart';