flutter_background_geolocation 0.1.1 copy "flutter_background_geolocation: ^0.1.1" to clipboard
flutter_background_geolocation: ^0.1.1 copied to clipboard

outdated

The most sophisticated background location-tracking & geofencing module with battery-conscious motion-detection intelligence for iOS and Android.

example/lib/main.dart

import 'dart:async';
import 'package:flutter/material.dart';
import 'src/app.dart';
import 'package:shared_preferences/shared_preferences.dart';

import 'src/advanced/app.dart';
import 'src/hello_world/app.dart';

void main() async {

  final SharedPreferences prefs = await SharedPreferences.getInstance();
  String appName = prefs.getString("app");

  Widget app;

  switch(appName) {
    case 'advanced':
      app = new AdvancedApp();
      break;
    case 'hello_world':
      app = new HelloWorldApp();
      break;
    default:
      app = HomeApp();
      break;
  }
  runApp(app);
}
695
likes
0
pub points
97%
popularity

Publisher

verified publishertransistorsoft.com

The most sophisticated background location-tracking & geofencing module with battery-conscious motion-detection intelligence for iOS and Android.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

device_info, flutter

More

Packages that depend on flutter_background_geolocation