diff --git a/.idea/Daflv4.iml b/.idea/Daflv4.iml index 0a4c8b0..29145de 100644 --- a/.idea/Daflv4.iml +++ b/.idea/Daflv4.iml @@ -42,6 +42,12 @@ + + + + + + diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml index 433111f..0568fe9 100644 --- a/.idea/libraries/Dart_Packages.xml +++ b/.idea/libraries/Dart_Packages.xml @@ -135,6 +135,13 @@ + + + + + + @@ -184,6 +191,13 @@ + + + + + + @@ -233,6 +247,13 @@ + + + + + + @@ -429,6 +450,13 @@ + + + + + + @@ -569,11 +597,13 @@ + + @@ -581,6 +611,7 @@ + @@ -609,6 +640,7 @@ + diff --git a/Sources/.gitkeep b/Sources/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/Sources/dafl_project_flutter/assets/logs.txt b/Sources/dafl_project_flutter/assets/logs.txt deleted file mode 100644 index 7d70a00..0000000 --- a/Sources/dafl_project_flutter/assets/logs.txt +++ /dev/null @@ -1,4 +0,0 @@ -postgres -mdpDaflBd -89.83.54.48 -BD-DaflMusic \ No newline at end of file diff --git a/Sources/dafl_project_flutter/lib/position/location.dart b/Sources/dafl_project_flutter/lib/position/location.dart index 8f29034..df1d6fe 100644 --- a/Sources/dafl_project_flutter/lib/position/location.dart +++ b/Sources/dafl_project_flutter/lib/position/location.dart @@ -1,7 +1,6 @@ import 'package:geolocator/geolocator.dart'; import 'package:http/http.dart' as http; import 'dart:convert'; -import 'dart:developer'; import 'dart:async'; import '../main.dart'; @@ -29,13 +28,12 @@ class Location { } static Future getData() async { + String actualUser = MyApp.controller.currentUser.usernameDafl; Uri uri = Uri.parse("http://89.83.53.34/phpmyadmin/dafldev/distance.php"); - String actualUser = MyApp().controller.currentUser.usernameDafl; http.Response response = await http.post(uri, body : { "id" : actualUser.toString(), }); var data = jsonDecode(response.body); - log(data.toString()); return data.toString(); } } diff --git a/Sources/dafl_project_flutter/lib/views/pages/main/p_main.dart b/Sources/dafl_project_flutter/lib/views/pages/main/p_main.dart index ebce433..39f7306 100644 --- a/Sources/dafl_project_flutter/lib/views/pages/main/p_main.dart +++ b/Sources/dafl_project_flutter/lib/views/pages/main/p_main.dart @@ -32,10 +32,6 @@ class _MainPageState extends State { Widget build(BuildContext context) { Location.sendCurrentLocation(); double height = MediaQuery.of(context).size.height; - double height = MediaQuery - .of(context) - .size - .height; return Scaffold( resizeToAvoidBottomInset: false, body: screens[_index], diff --git a/Sources/dafl_project_flutter/linux/flutter/generated_plugin_registrant.cc b/Sources/dafl_project_flutter/linux/flutter/generated_plugin_registrant.cc new file mode 100644 index 0000000..e71a16d --- /dev/null +++ b/Sources/dafl_project_flutter/linux/flutter/generated_plugin_registrant.cc @@ -0,0 +1,11 @@ +// +// Generated file. Do not edit. +// + +// clang-format off + +#include "generated_plugin_registrant.h" + + +void fl_register_plugins(FlPluginRegistry* registry) { +} diff --git a/Sources/dafl_project_flutter/linux/flutter/generated_plugin_registrant.h b/Sources/dafl_project_flutter/linux/flutter/generated_plugin_registrant.h new file mode 100644 index 0000000..e0f0a47 --- /dev/null +++ b/Sources/dafl_project_flutter/linux/flutter/generated_plugin_registrant.h @@ -0,0 +1,15 @@ +// +// Generated file. Do not edit. +// + +// clang-format off + +#ifndef GENERATED_PLUGIN_REGISTRANT_ +#define GENERATED_PLUGIN_REGISTRANT_ + +#include + +// Registers Flutter plugins. +void fl_register_plugins(FlPluginRegistry* registry); + +#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/Sources/dafl_project_flutter/linux/flutter/generated_plugins.cmake b/Sources/dafl_project_flutter/linux/flutter/generated_plugins.cmake new file mode 100644 index 0000000..2e1de87 --- /dev/null +++ b/Sources/dafl_project_flutter/linux/flutter/generated_plugins.cmake @@ -0,0 +1,23 @@ +# +# Generated file, do not edit. +# + +list(APPEND FLUTTER_PLUGIN_LIST +) + +list(APPEND FLUTTER_FFI_PLUGIN_LIST +) + +set(PLUGIN_BUNDLED_LIBRARIES) + +foreach(plugin ${FLUTTER_PLUGIN_LIST}) + add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) + target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) + list(APPEND PLUGIN_BUNDLED_LIBRARIES $) + list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) +endforeach(plugin) + +foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) + add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin}) + list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) +endforeach(ffi_plugin) diff --git a/Sources/phpLocation/.idea/workspace.xml b/Sources/phpLocation/.idea/workspace.xml deleted file mode 100644 index 5302c39..0000000 --- a/Sources/phpLocation/.idea/workspace.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - $PROJECT_DIR$/composer.json - - - - - - - - - - - - - - - - - - - - - - - - - 1668370798748 - - - - - - - - - \ No newline at end of file