traceku_platform_interface 3.4.2 copy "traceku_platform_interface: ^3.4.2" to clipboard
traceku_platform_interface: ^3.4.2 copied to clipboard

A common platform interface for the Traceku background geolocation plugin. Used by traceku_android and traceku_ios implementations.

example/example.dart

// ignore_for_file: avoid_print

import 'package:traceku_platform_interface/traceku_platform_interface.dart';

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

Documentation

Documentation

Publisher

verified publishercarku.ir

Weekly Downloads

A common platform interface for the Traceku background geolocation plugin. Used by traceku_android and traceku_ios implementations.

Homepage
Repository (GitHub)
View/report issues

Topics

#location #background #plugin

Funding

Consider supporting this project:

github.com
www.buymeacoffee.com
thanks.dev
www.patreon.com

License

Apache-2.0 (license)

Dependencies

collection, flutter, flutter_rust_bridge, meta, plugin_platform_interface

More

Packages that depend on traceku_platform_interface