datadome_flutter_dio 2.2.0 copy "datadome_flutter_dio: ^2.2.0" to clipboard
datadome_flutter_dio: ^2.2.0 copied to clipboard

A DataDome integration for Flutter - Dio Integration

Use this package as a library

Depend on it

Run this command:

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 flutter pub get):

dependencies:
  datadome_flutter_dio: ^2.2.0

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: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';