Navigációs fejlesztések, kitűzési fejlesztések

This commit is contained in:
2025-03-10 13:33:21 +01:00
parent a46674844c
commit 6c7ceac1a6
11 changed files with 616 additions and 51 deletions
+22 -3
View File
@@ -30,7 +30,7 @@ class MapView extends GetView<MapViewController> {
children: [
Text('Térkép'),
Text(
"Budapest",
"Zalaegerszeg",
style: TextStyle(fontSize: 12.0),
)
],
@@ -89,8 +89,27 @@ class MapView extends GetView<MapViewController> {
Padding(
padding: const EdgeInsets.only(right: 20.0),
child: GestureDetector(
onTap: () => Get.to(() => SettingsDialog(),
transition: Transition.downToUp),
onTap: () {
controller.readPointsFromSupa();
},
child: const Icon(Icons.cloud_download,
size: 26.0, color: Colors.blue),
),
),
Padding(
padding: const EdgeInsets.only(right: 20.0),
child: GestureDetector(
onTap: () {
if (controller.ntripUserName.value.isNotEmpty) {
controller.ntripUsernameController.text =
controller.ntripUserName.value;
}
if (controller.ntripPassword.value.isNotEmpty) {
controller.ntripPasswordController.text =
controller.ntripPassword.value;
}
Get.to(() => SettingsDialog(), transition: Transition.downToUp);
},
child: const Icon(
Icons.more_vert,
size: 26.0,