tracelet_platform_interface 1.0.0 copy "tracelet_platform_interface: ^1.0.0" to clipboard
tracelet_platform_interface: ^1.0.0 copied to clipboard

A common platform interface for the Tracelet background geolocation plugin. Used by tracelet_android and tracelet_ios implementations.

example/example.dart

// ignore_for_file: avoid_print

import 'package:tracelet_platform_interface/tracelet_platform_interface.dart';

/// Example showing how platform implementations extend [TraceletPlatform].
///
/// This package is not intended for direct use — it provides the abstract
/// interface that platform-specific packages (tracelet_android, tracelet_ios,
/// tracelet_web) implement. See the [tracelet](https://pub.dev/packages/tracelet)
/// package for the app-facing API.
void main() {
  // Access the current platform implementation singleton.
  final platform = TraceletPlatform.instance;
  print('Platform implementation: ${platform.runtimeType}');
}
0
likes
160
points
1.2k
downloads

Publisher

verified publisherikolvi.com

Weekly Downloads

A common platform interface for the Tracelet background geolocation plugin. Used by tracelet_android and tracelet_ios implementations.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

collection, flutter, meta, plugin_platform_interface

More

Packages that depend on tracelet_platform_interface