tillhub_sdk_flutter 0.0.1 copy "tillhub_sdk_flutter: ^0.0.1" to clipboard
tillhub_sdk_flutter: ^0.0.1 copied to clipboard

outdated

The Tillhub SDK for Flutter

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add tillhub_sdk_flutter

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  tillhub_sdk_flutter: ^0.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:tillhub_sdk_flutter/api/api.dart';
import 'package:tillhub_sdk_flutter/api/auth_info.dart';
import 'package:tillhub_sdk_flutter/api/device_api.dart';
import 'package:tillhub_sdk_flutter/api/device_auth_info.dart';
import 'package:tillhub_sdk_flutter/api/routes/base_route.dart';
import 'package:tillhub_sdk_flutter/api/routes/devices_route.dart';
import 'package:tillhub_sdk_flutter/api/routes/stocks_route.dart';
import 'package:tillhub_sdk_flutter/tillhub_sdk.dart';
import 'package:tillhub_sdk_flutter/utils/pather.dart';
import 'package:tillhub_sdk_flutter/utils/utils.dart';