infinea_sdk_flutter 0.0.1+1
infinea_sdk_flutter: ^0.0.1+1 copied to clipboard

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_flutterr)

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();

0
likes
110
pub points
2%
popularity

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 (LICENSE)

Dependencies

flutter

More

Packages that depend on infinea_sdk_flutter