Skip to content

Instantly share code, notes, and snippets.

View sisyfus's full-sized avatar

Greg Sullivan sisyfus

  • Sydney, Australia
View GitHub Profile
/*
* Forked from https://gist.github.com/christocracy/a0464846de8a9c27c7e9de5616082878
* Modified to use the geolocation package as a Riverpod provider
* flutter_background_geolocation Hello World
* https://github.com/transistorsoft/flutter_background_geolocation
*/
import 'package:flutter/material.dart';
import 'package:flutter_background_geolocation/flutter_background_geolocation.dart'
as bg;
import 'package:flutter_riverpod/flutter_riverpod.dart';