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

Platformweb

Web implementation of the Traceku background geolocation plugin.

example/example.dart

// ignore_for_file: avoid_print

/// Web implementation of the Traceku background geolocation plugin.
///
/// This package is auto-registered by the Flutter plugin system — you don't
/// need to use it directly. See the
/// [traceku](https://pub.dev/packages/traceku) package for the app-facing
/// API.
///
/// ```dart
/// import 'package:traceku/traceku.dart' as tl;
///
/// Future<void> main() async {
///   tl.Traceku.onLocation((location) {
///     print('${location.coords.latitude}, ${location.coords.longitude}');
///   });
///
///   await tl.Traceku.ready(tl.Config(
///     geo: tl.GeoConfig(desiredAccuracy: tl.DesiredAccuracy.high),
///   ));
///
///   await tl.Traceku.start();
/// }
/// ```
void main() {
  print('Use the traceku package — this plugin registers automatically.');
}
0
likes
150
points
138
downloads

Documentation

Documentation

Publisher

verified publishercarku.ir

Weekly Downloads

Web implementation of the Traceku background geolocation plugin.

Homepage
Repository (GitHub)

Topics

#location #background #geofencing #web

Funding

Consider supporting this project:

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

License

Apache-2.0 (license)

Dependencies

crypto, flutter, flutter_web_plugins, traceku_platform_interface, web

More

Packages that depend on traceku_web

Packages that implement traceku_web