tiki_sdk_flutter 2.1.3 tiki_sdk_flutter: ^2.1.3 copied to clipboard
A package for adding TIKI's decentralized infrastructure to Flutter projects. Add tokenized data ownership, consent, and rewards to your app in minutes.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add tiki_sdk_flutter
With Flutter:
$ flutter pub add tiki_sdk_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
tiki_sdk_flutter: ^2.1.3
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:tiki_sdk_flutter/main.dart';
import 'package:tiki_sdk_flutter/offer.dart';
import 'package:tiki_sdk_flutter/theme.dart';
import 'package:tiki_sdk_flutter/tiki_sdk.dart';
import 'package:tiki_sdk_flutter/ui/button.dart';
import 'package:tiki_sdk_flutter/ui/ending.dart';
import 'package:tiki_sdk_flutter/ui/learn_more.dart';
import 'package:tiki_sdk_flutter/ui/learn_more_btn.dart';
import 'package:tiki_sdk_flutter/ui/markdown.dart';
import 'package:tiki_sdk_flutter/ui/offer_card.dart';
import 'package:tiki_sdk_flutter/ui/offer_prompt.dart';
import 'package:tiki_sdk_flutter/ui/settings.dart';
import 'package:tiki_sdk_flutter/ui/terms.dart';
import 'package:tiki_sdk_flutter/ui/used_bullet.dart';
import 'package:tiki_sdk_flutter/ui/used_for.dart';