mirror of
https://bitbucket.org/FransoletThomas/tablet-app.git
synced 2025-12-06 08:31:19 +00:00
15 lines
341 B
Dart
15 lines
341 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:manager_api/api.dart';
|
|
|
|
class MapContext with ChangeNotifier {
|
|
GeoPointDTO? _selectedPoint;
|
|
|
|
MapContext(this._selectedPoint);
|
|
|
|
getSelectedPoint() => _selectedPoint;
|
|
setSelectedPoint(GeoPointDTO? selectedPoint) {
|
|
_selectedPoint = selectedPoint;
|
|
notifyListeners();
|
|
}
|
|
|
|
} |