Last updated:
0 purchases
monnify flutter
monnify_flutter #
Flutter plugin for Android and iOS Monnify payment gateway
Getting Started #
This project is all about Monnify payment.
It supports both Android and iOS platforms.
👨💻 Installation
To use this plugin for payment, add monnify_flutter as a
dependency to your pubspec.yaml file
You can then initialise the plugin preferably in the initState method.
import 'package:monnify_flutter/monnify_flutter.dart';
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
final monnify = MonnifyFlutter.instance;
@override
void initState() {
super.initState();
monnify.initializeMonnify(
///Enter your API key here from monnify
apiKey: Hidden.API_KEY,
///Enter your contract code here from monnify
contractCode: Hidden.CONTRACT_CODE,
applicationMode: ApplicationMode.test);
}
}
copied to clipboard
😘 Make Payment
You can add this plugin to your flutter application
here,
a specialized package that includes platform-specific implementation code for
Android and/or iOS.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.