edfapay_softpos_sdk 1.0.5 copy "edfapay_softpos_sdk: ^1.0.5" to clipboard
edfapay_softpos_sdk: ^1.0.5 copied to clipboard

PlatformAndroid

Helps developers to easly integrate EdfaPay SoftPos to flutter mobile application with few simple steps.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:hexcolor/hexcolor.dart';
import 'state/app_state.dart';
import 'screens/home_screen.dart';

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

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

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

class _MyAppState extends State<MyApp> {
  final AppState _appState = AppState();

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'EdfaPay SDK Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primaryColor: HexColor('06E59F'),
        colorScheme: ColorScheme.fromSeed(
          seedColor: HexColor('06E59F'),
          primary: HexColor('06E59F'),
        ),
        appBarTheme: AppBarTheme(
          backgroundColor: Colors.white,
          foregroundColor: Colors.black87,
          elevation: 1,
          titleTextStyle: TextStyle(
            color: HexColor('06E59F'),
            fontSize: 20,
            fontWeight: FontWeight.bold,
          ),
        ),
        useMaterial3: true,
      ),
      home: HomeScreen(appState: _appState),
    );
  }

  @override
  void dispose() {
    _appState.dispose();
    super.dispose();
  }
}
0
likes
120
points
273
downloads

Documentation

API reference

Publisher

verified publisheredfapay.com

Weekly Downloads

Helps developers to easly integrate EdfaPay SoftPos to flutter mobile application with few simple steps.

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on edfapay_softpos_sdk

Packages that implement edfapay_softpos_sdk