tabby_flutter_inapp_sdk 1.10.1 copy "tabby_flutter_inapp_sdk: ^1.10.1" to clipboard
tabby_flutter_inapp_sdk: ^1.10.1 copied to clipboard

Flutter SDK for Tabby Buy Now, Pay Later. A package that allows you to integrate Tabby payment methods into your Flutter app.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:tabby_flutter/pages/api_key.dart';
import 'package:tabby_flutter/pages/chechout_page.dart';
import 'package:tabby_flutter/pages/home_page.dart';
import 'package:tabby_flutter/pages/new_session.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Tabby Flutter SDK Demo',
      localizationsDelegates: const [
        GlobalCupertinoLocalizations.delegate,
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
      ],
      supportedLocales: const [Locale('en'), Locale('ar')],
      locale: const Locale('en'), // Use it for check Arabic locale
      theme: ThemeData(primarySwatch: Colors.green),
      home: const ApiKeyPage(),
      routes: {
        '/home': (context) => const HomePage(),
        '/new_session': (context) => const NewSession(),
        '/checkout': (context) => const CheckoutPage(),
      },
    );
  }
}
17
likes
140
points
1.12k
downloads

Publisher

verified publishertabby.ai

Weekly Downloads

Flutter SDK for Tabby Buy Now, Pay Later. A package that allows you to integrate Tabby payment methods into your Flutter app.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_inappwebview, http, permission_handler, uuid, webview_flutter

More

Packages that depend on tabby_flutter_inapp_sdk