finik_sdk 0.1.0 copy "finik_sdk: ^0.1.0" to clipboard
finik_sdk: ^0.1.0 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.

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 FinikSdk.initialize(
    apiKey: '<YOUR_API_KEY>',
  );

  runApp(const MyApp());
}

Example


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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Finik DEMO',
      home: FinikProvider(
        languageCode: 'en',
        onBackPressed: () => _yourCustomDialog('onBackPressed'),
        // widget: GetItemWidget(accountId: 'YOUR_ACCOUNT_ID',),
        widget: const CreateItemHandlerWidget(
          accountId: 'YOUR_ITEM_ID',
          nameEn: 'YOUR_NAME_EN',
        ),
      ),
    );
  }
}

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: #