datadome_flutter_dio 2.1.0 datadome_flutter_dio: ^2.1.0 copied to clipboard
A DataDome integration for Flutter - Dio Integration
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add datadome_flutter_dio
With Flutter:
$ flutter pub add datadome_flutter_dio
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
datadome_flutter_dio: ^2.1.0
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:datadome_flutter_dio/captcha_page.dart';
import 'package:datadome_flutter_dio/datadome_dio.dart';
import 'package:datadome_flutter_dio/datadome_interceptor.dart';
import 'package:datadome_flutter_dio/datadome_logger.dart';
import 'package:datadome_flutter_dio/retriable_request.dart';
import 'package:datadome_flutter_dio/tracking/event_data.dart';
import 'package:datadome_flutter_dio/tracking/event_tracker.dart';
import 'package:datadome_flutter_dio/tracking/gesture_detection.dart';