tiki_sdk_flutter 2.1.5 tiki_sdk_flutter: ^2.1.5 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.5
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/tiki_sdk.dart';
import 'package:tiki_sdk_flutter/ui/bullet.dart';
import 'package:tiki_sdk_flutter/ui/offer.dart';
import 'package:tiki_sdk_flutter/ui/theme.dart';
import 'package:tiki_sdk_flutter/ui/widgets/button.dart';
import 'package:tiki_sdk_flutter/ui/widgets/ending.dart';
import 'package:tiki_sdk_flutter/ui/widgets/learn_more.dart';
import 'package:tiki_sdk_flutter/ui/widgets/learn_more_btn.dart';
import 'package:tiki_sdk_flutter/ui/widgets/markdown.dart';
import 'package:tiki_sdk_flutter/ui/widgets/offer_card.dart';
import 'package:tiki_sdk_flutter/ui/widgets/offer_prompt.dart';
import 'package:tiki_sdk_flutter/ui/widgets/settings.dart';
import 'package:tiki_sdk_flutter/ui/widgets/terms.dart';
import 'package:tiki_sdk_flutter/ui/widgets/used_for.dart';