mirror of
https://github.com/Iconica-Development/flutter_google_track_and_trace.git
synced 2025-05-19 05:03:45 +02:00
25 lines
457 B
Dart
25 lines
457 B
Dart
|
part of google_track_trace;
|
||
|
|
||
|
class TrackTraceController {
|
||
|
late final Completer<GoogleMapController> _mapController;
|
||
|
|
||
|
// get the duration
|
||
|
|
||
|
// get the distance
|
||
|
|
||
|
// listen to updates on the source marker
|
||
|
|
||
|
// listen to updates on the route
|
||
|
|
||
|
|
||
|
void dispose() {}
|
||
|
|
||
|
void setController(Completer<GoogleMapController> controller) {
|
||
|
_mapController = controller;
|
||
|
}
|
||
|
|
||
|
Completer<GoogleMapController> getController() {
|
||
|
return _mapController;
|
||
|
}
|
||
|
}
|