fundlypay 0.0.1 copy "fundlypay: ^0.0.1" to clipboard
fundlypay: ^0.0.1 copied to clipboard

A Flutter library by Fundly Pay for seamless and standardized payment integration across multiple payment methods — simplifying invoice collection, reconciliation, and settlement.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:fundlypay/fundlypay.dart';


final fundlyPayObject = {
  "credential": {
    "username": "demo_user",
    "password": "dummy_password_123",
    "source": "DEMO_APP",
  },
  "paymentDetails": {
    "distributorId": "D00000000XX",
    "chemistId": "R00000000YY",
    "paymentType": "INVOICE_COLLECT",
    "payableAmount": 1000.0,
    "invoice": [
      {"invoiceNumber": "INV1001", "paidAmount": 600.0},
      {"invoiceNumber": "INV1002", "paidAmount": 400.0},
    ],
  },
};

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'FundlyPay Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Color(0XFF16558B)),
      ),
      home: Scaffold(body: FundlyPayService(fundlyPayObject: fundlyPayObject)),
    );
  }
}
0
likes
0
points
135
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter library by Fundly Pay for seamless and standardized payment integration across multiple payment methods — simplifying invoice collection, reconciliation, and settlement.

Homepage

License

unknown (license)

Dependencies

file_picker, flutter, flutter_inappwebview, http, image_picker, path_provider, permission_handler, share_plus

More

Packages that depend on fundlypay