analytics_sdk 0.1.0
analytics_sdk: ^0.1.0 copied to clipboard
通用 Flutter 埋点 SDK,纯 Dart 实现,支持公共参数、离线队列与批量上报。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add analytics_sdkThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
analytics_sdk: ^0.1.0Alternatively, 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:analytics_sdk/analytics_sdk.dart';