Begin implementing GPS related functions, and initial UI for trip and delivery
This commit is contained in:
parent
061fd46f89
commit
770c1e7c74
6 changed files with 276 additions and 3 deletions
|
@ -1,13 +1,17 @@
|
|||
import 'dart:convert';
|
||||
|
||||
import 'package:dio/dio.dart';
|
||||
import 'package:geolocator/geolocator.dart';
|
||||
|
||||
class TTConsts {
|
||||
static get UPDATE_URL =>
|
||||
"https://git.zontreck.com/AriasCreations/TimeTracker/raw/branch/main/latest-releases.json";
|
||||
static const VERSION = "1.0.0-dev.5";
|
||||
static const VERSION = "1.0.0-dev.6";
|
||||
static bool UPDATE_AVAILABLE = false;
|
||||
static UpdateChannel UPDATE_CHANNEL = UpdateChannel.alpha;
|
||||
static final LocationSettings LOCATION_SETTINGS = LocationSettings(
|
||||
accuracy: LocationAccuracy.bestForNavigation,
|
||||
);
|
||||
|
||||
static Future<void> checkUpdate() async {
|
||||
Dio dio = Dio();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue