elgin_smart_flutter 1.0.1 copy "elgin_smart_flutter: ^1.0.1" to clipboard
elgin_smart_flutter: ^1.0.1 copied to clipboard

PlatformAndroid

Plugin Flutter para integrar sua aplicação com o SDK Android da Elgin para meios de pagamento.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'payment/payment_page.dart';

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

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

  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: DefaultTabController(
        length: 2,
        child: Scaffold(
          appBar: AppBar(
            title: const Text('Elgin Smart Flutter'),
            bottom: const TabBar(tabs: [
              Tab(
                child: Text("Vender"),
              ),
              Tab(
                child: Text("Transações"),
              )
            ]),
          ),
          body: TabBarView(
            children: [
              const PaymentPage(),
              Container(),
            ],
          ),
        ),
      ),
    );
  }
}
1
likes
130
points
46
downloads

Publisher

unverified uploader

Weekly Downloads

Plugin Flutter para integrar sua aplicação com o SDK Android da Elgin para meios de pagamento.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on elgin_smart_flutter