iamport_flutter 0.9.4 copy "iamport_flutter: ^0.9.4" to clipboard
iamport_flutter: ^0.9.4 copied to clipboard

outdated

Plugin that allows Flutter to use Iamport payment and certification functions.

example/lib/main.dart

import 'package:flutter/material.dart';

import './screens/home.dart';
import './screens/payment_test.dart';
import './screens/payment.dart';
import './screens/payment_result.dart';
import './screens/certification_test.dart';
import './screens/certification.dart';
import './screens/certification_result.dart';

void main() => runApp(new MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {  
  static const Color primaryColor = Color(0xff344e81);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      initialRoute: '/',
      theme: ThemeData(
        primaryColor: primaryColor,
        buttonColor: primaryColor,
      ),
      routes: {
        '/': (context) => Home(),
        '/payment-test': (context) => PaymentTest(),
        '/payment': (context) => Payment(),
        '/payment-result': (context) => PaymentResult(),
        '/certification-test': (context) => CertificationTest(),
        '/certification': (context) => Certification(),
        '/certification-result': (context) => CertificationResult(),
      },
    );
  }
}
40
likes
0
pub points
90%
popularity

Publisher

unverified uploader

Plugin that allows Flutter to use Iamport payment and certification functions.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_webview_plugin, uni_links, url_launcher

More

Packages that depend on iamport_flutter