Implemented settings, new scan, enhanced UI/UX

This commit is contained in:
Dennis Nemec
2025-11-04 16:52:39 +01:00
parent b19a6e1cd4
commit 7ea9108f62
79 changed files with 3306 additions and 566 deletions

View File

@ -5,6 +5,7 @@ import 'package:flutter/cupertino.dart';
class LocalDocuFrameConfiguration {
String host;
String backendUrl;
final String user;
final String pass;
final List<String> appNames;
@ -15,6 +16,7 @@ class LocalDocuFrameConfiguration {
required this.appKey,
required this.appNames,
required this.pass,
required this.backendUrl,
required this.user});
Map<String, dynamic> toJson() {
@ -22,6 +24,7 @@ class LocalDocuFrameConfiguration {
"host": host,
"user": user,
"pass": pass,
"backendUrl": backendUrl,
"appNames": appNames,
"appKey": appKey
};
@ -34,6 +37,7 @@ class LocalDocuFrameConfiguration {
appNames: (getValueOrThrowIfNotPresent("appNames", json) as List)
.cast<String>(),
pass: getValueOrThrowIfNotPresent("pass", json),
backendUrl: getValueOrThrowIfNotPresent("backendUrl", json),
user: getValueOrThrowIfNotPresent("user", json));
}
}