Skip to content

The Trinsic Dart SDK

The Trinsic Dart SDK makes it easy to interact with the Trinsic API from your Dart/Flutter application. The most recent version of the library can be found on pub.dev. You can also find the SDKs source on Github.

Supported runtimes

Flutter targets (Windows, MacOS, iOS, Android, Web) are supported natively with the Dart SDK. A sample application is here

Installation in a new project

Add the required dependency to your Dart/Flutter pubspec.yaml

dart pub add trinsic_dart
flutter pub add trinsic_dart

Alternatively, you can simply instantiate this service with or without parameters

import 'package:trinsic_dart/trinsic.dart';
// ...
var trinsic = TrinsicService(null);
// Or, if you have an auth token
var trinsic = TrinsicService(trinsicConfig(authToken: "<auth_token>"));