flutter_periculum 0.0.2 copy "flutter_periculum: ^0.0.2" to clipboard
flutter_periculum: ^0.0.2 copied to clipboard

PlatformAndroid
outdated

Periculum Insight Plugin

flutter_periculum #

Periculum Insight Plugin (Flutter) This plugin allows Flutter apps to generate Mobile Data Analysis and Affordability Analysis.

Platform Supported #

Android

Installation and usage #

  1. Add the latest version of the plugin to your pubspec.yaml (and run pub get) dependencies: flutter_periculum: ^0.0.2

  2. Import the plugin and use it in your flutter App.0

import 'package:flutter_periculum/flutter_periculum.dart';

Example #

...dart var response;

try {

response = await FlutterPericulum.affordabilityAnalysis( statementKey: 3, dti: 2.0, loanTenure: 30, averageMonthlyTotalExpenses: 4000, //optional averageMonthlyLoanRepaymentAmount: 1000, //optional token: "..." );

} on PlatformException {

response = 'Failed to get platform version.';

}

if (!mounted) return;

final body = jsonDecode(response.toString()); ...

Compatibility #

Minimum Android SDK: Periculum requires a minimum API level of 21.

Info #

For this plugin to work, you must have a Periculum account and you'll also need to use your merchant Id and secret key to generate a token from the Periculum API.

Getting Started #

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

1
likes
110
points
12
downloads

Publisher

unverified uploader

Weekly Downloads

Periculum Insight Plugin

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_periculum

Packages that implement flutter_periculum