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

Flutter SDK for Tabby Buy Now, Pay Later. A package that allows you to integrate Tabby's producst 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(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: 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(),
      },
    );
  }
}
19
likes
0
points
608
downloads

Publisher

verified publishertabby.ai

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_inappwebview, http, permission_handler, uuid

More

Packages that depend on tabby_flutter_inapp_sdk