flutter_drivekit_trip_analysis 0.0.1  flutter_drivekit_trip_analysis: ^0.0.1 copied to clipboard
flutter_drivekit_trip_analysis: ^0.0.1 copied to clipboard
Flutter plugin for DriveQuant's DriveKit trip analysis SDK
DriveKit trip_analysis plugin #
Flutter interface for the DriveKit Trip Analysis
To learn more about DriveKit, please visit our DriveKit documentation
Installation #
To use this plugin, run this command in your project
flutter pub add drivekit_trip_analysis
Now, you can import 'package:flutter_drivekit_trip_analysis/flutter_drivekit_trip_analysis.dart' and use DriveKitTripAnalysis in your Dart code.
Usage #
To use this plugin, you need to have an ApiKey from DriveQuant. If you don't have one, please contact us. Then, you need to install the flutter_drivekit_core plugin and follow the instructions to specify the ApiKey and the UserId.
Now, you can configure the Drivekit Core with the options you want, and start using the Drivekit Trip Analysis plugin. For example, you can start trip analysis with the following code:
final tripAnalysis = DriveKitTripAnalysis()
tripAnalysis.activateAutoStart()
Please refer to the DriveKit Trip Analysis documentation for more information about the features we provide.
You can also take a look at the flutter example for a basic usage of the Drivekit SDK, and the iOS example app or android example app for a complete demonstration.