infinea_sdk_flutter 0.0.2+1 copy "infinea_sdk_flutter: ^0.0.2+1" to clipboard
infinea_sdk_flutter: ^0.0.2+1 copied to clipboard

PlatformiOS

Flutter Plugin for Infinite Peripherals Infinea SDK. This plugin allows you to connect and use devices compatible with Infinea SDK.

Infinea SDK Plugin #

(https://pub.dev/packages/infinea_sdk_flutter)

Flutter Plugin for Infinite Peripherals Infinea SDK. This plugin allows you to connect and use devices compatible with Infinea SDK.

Usage #

To use this plugin, add infinea_sdk_flutter as a dependency in your pubspec.yaml file. You will need a developer key and application id setup in the Infinite Peripherals Developer Portal

Using Infinea SDK #

Example Usage #

final InfineaSdkFlutter infinea = InfineaSdkFlutter();
      await infinea.setDeveloperKey(key: 'enteryourdeveloperkeyhere');
      await infinea.connect();  
    Function cancelListener = infinea.startListening((event) {
      if (event['event'] == 'barcode') {
        print(event['data']);
      }
    });
    
    await infinea.disconnect();)
    cancelListener();

1
likes
120
pub points
56%
popularity

Publisher

unverified uploader

Flutter Plugin for Infinite Peripherals Infinea SDK. This plugin allows you to connect and use devices compatible with Infinea SDK.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on infinea_sdk_flutter