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

discontinued
outdated

Amwal Pay Sdk Flutter plugin.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:amwal_pay/amwal_pay.dart';
import 'dart:async';

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

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    AmwalPay amwalPay = AmwalPayBuilder("")
        .countryCode("countryCode")
        .phoneNumber("phoneNumber")
        .build();

    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: ElevatedButton( onPressed: () async {
            await amwalPay.start(100.0);
          },child: const Text("run"),),
        ),
      ),
    );
  }
}
1
likes
0
points
105
downloads

Publisher

unverified uploader

Weekly Downloads

Amwal Pay Sdk Flutter plugin.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on amwal_pay

Packages that implement amwal_pay