Ntrip szervíz refraktorálás, beállítások, jelszó secure store-ba

This commit is contained in:
2026-07-05 03:43:07 +02:00
parent 80f7c8d571
commit fa25a320eb
8 changed files with 501 additions and 126 deletions
@@ -7,6 +7,18 @@ import '../controllers/ntrip_settings_controller.dart';
class NtripSettingsSheet extends GetView<NtripSettingsController> {
const NtripSettingsSheet({super.key});
static Future<void> show() async {
Get.put(NtripSettingsController());
try {
await Get.bottomSheet(
const NtripSettingsSheet(),
isScrollControlled: true,
);
} finally {
Get.delete<NtripSettingsController>();
}
}
@override
Widget build(BuildContext context) {
final colorScheme = Theme.of(context).colorScheme;
@@ -97,7 +109,7 @@ class NtripSettingsSheet extends GetView<NtripSettingsController> {
controller: controller.mountPointController,
decoration: const InputDecoration(
labelText: 'Mountpoint',
hintText: 'pl. BUDAPEST_RTCM32',
hintText: 'pl. SGO_RTK3.2',
prefixIcon: Icon(Icons.place),
),
textInputAction: TextInputAction.next,