Skip to content

Dart-Works/geoclue.dart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoClue for Dart

CI codecov

GeoClue: The Geolocation Service

import 'package:geoclue/geoclue.dart';

Future<void> main() async {
  final manager = GeoClueManager();
  await manager.connect();

  final client = await manager.getClient();
  await client.start('geoclue.dart');

  print(await client.getLocation()); // "GeoClueLocation(..., latitude: 12.34, longitude: 56.78, ...)"

  await manager.close();
}

Releases

No releases published

Packages

No packages published

Languages

  • Dart 99.5%
  • Shell 0.5%