finik_sdk 0.0.7 finik_sdk: ^0.0.7 copied to clipboard
This Flutter package allows your application to integrate Finik application features.
import 'package:finik_sdk/finik_sdk.dart';
import 'package:flutter/material.dart';
void main() async {
/// Required!
/// Configure Averspay SDK
await FinikSdkConfig.configure(
apiKey: '<YOUR_API_KEY>',
cachePolicy: CachePolicy.networkOnly,
isBeta: false,
);
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Finik QR demo',
home: QrCodePage(
accountId: '<YOUR_ACCOUNT_ID>',
languageCode: 'ru', // Localizations ky, en, ru. (KYRGYZ, ENGLISH, RUSSIAN)
onBackPressed: () => debugPrint('onBackPressed'),
),
);
}
}