tsdtech_client_sdk 0.2.12 copy "tsdtech_client_sdk: ^0.2.12" to clipboard
tsdtech_client_sdk: ^0.2.12 copied to clipboard

Platformweb

SDK Dart para integração com a plataforma TsdTech de pagamentos.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:tsdtech_client_sdk/tsdtech_sdk_client.dart';
import 'package:tsdtech_client_sdk/app.dart';
import 'package:tsdtech_client_sdk/tsdtech_sdk_ui.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();

  TsdtechClient.initialize(
    baseUrl: 'https://api.tsdtech.com.br',
    gatewayBaseUrl: 'https://gateway.tsdtech.com.br',
    gatewayApiKey: 'sua-api-key-aqui',
    theme: TsdtechThemeData.light(),
  );

  runApp(const TsdtechApp());
}