finik_sdk 0.0.6 finik_sdk: ^0.0.6 copied to clipboard
This Flutter package allows your application to integrate Finik application features.
Finik SDK #
Description: #
This Flutter package enables your app to download QR codes from the Finik server via GraphQL.
Users can utilize a ready-made QR page for quick integration or create their own custom QR page using the QRBloc
to fit their specific needs.
Android | iOS | Linux | macOS | Web | Windows | |
---|---|---|---|---|---|---|
Support | SDK 19+ | 12.0+ | - | - | - | - |
Features #
Download QR Codes from Server:
Efficiently fetch QR codes directly from your server using GraphQL queries, ensuring easy access to up-to-date information.
Ready-Made QR Page:
Quickly integrate a pre-built QR page that allows for instant usage in your app, reducing development time.
Custom Implementation with QRBloc:
For developers who want more flexibility, easily create a personalized QR page using the QRBloc to customize the user experience and functionality.
QR Code Scanning:
On development
Usage #
Initialize the package
void main() async {
await FinikSdkConfig.configure(
apiKey: '<YOUR_API_KEY>',
cachePolicy: CachePolicy.networkOnly,
isBeta: true,
);
runApp(const MyApp());
}
Example
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Finik QR',
home: QrCodePage(
accountId: '<YOUR_ACCOUNT_ID>',
languageCode: 'en',
onBackPressed: () {},
),
);
}
}
Compatibility: #
- Dart version [2.17.0] or higher
- Supports both Android and iOS
Contributions: #
We welcome feedback and contributions to enhance the package. Feel free to report any issues or suggest improvements!
Contacts: #
- Email: hello@mancho.dev