Aller au contenu principal

Flutter Installation

Add the Eixam Flutter SDK package to your Flutter project using the immutable release ref supplied during partner handoff.

Add the package

Use the same ref for every Eixam package. Do not pin production builds to a moving branch such as main.

dependencies:
eixam_connect_flutter:
git:
url: https://github.com/eixam-tech/eixam-sdk-flutter
ref: YOUR_EIXAM_SDK_RELEASE_REF # Replace with the supplied tag or commit.
path: packages/eixam_connect_flutter

If you use the ready-made LoRa region confirmation flow, add the UI package at the same ref:

dependencies:
eixam_connect_ui:
git:
url: https://github.com/eixam-tech/eixam-sdk-flutter
ref: YOUR_EIXAM_SDK_RELEASE_REF # Use exactly the same ref as above.
path: packages/eixam_connect_ui

Import

import 'package:eixam_connect_flutter/eixam_connect_flutter.dart';

For the optional UI helpers:

import 'package:eixam_connect_ui/eixam_connect_ui.dart';

Package boundary

Partner apps should depend on eixam_connect_flutter and, when needed, eixam_connect_ui. The Flutter entrypoint exposes the partner-facing contracts needed for normal use. Do not add a direct eixam_connect_core dependency, import lib/src/ implementation files, or depend on native DFU/BLE internals unless Eixam has agreed that custom boundary with you.

Next step

Continue with Flutter Integration to wire up the SDK in your host app.