This commit is contained in:
mr
2025-06-13 13:33:24 +02:00
parent c4ea1541c4
commit ab593a45b9
26 changed files with 219 additions and 221 deletions

View File

@@ -3,6 +3,7 @@ import 'package:oc_front/main.dart';
import 'package:oc_front/models/response.dart';
import 'package:oc_front/pages/shared.dart';
// ignore: must_be_immutable
class ShallowDropdownInputWidget extends StatefulWidget {
double? width;
double? height;
@@ -30,10 +31,10 @@ class ShallowDropdownInputWidget extends StatefulWidget {
bool deletion = false;
ShallowDropdownInputWidget ({ Key? key, this.width, this.current, required this.all, this.prefixIcon,
ShallowDropdownInputWidget ({ super.key, this.width, this.current, required this.all, this.prefixIcon,
this.iconLoad, this.iconRemove, this.hint, this.filled, this.hintColor, this.color, this.height,
this.tooltipLoad, this.tooltipRemove, this.deletion = false, this.maptoDropdown, this.label,
required this.type, this.canLoad, this.canRemove, this.load, this.remove, this.change }): super(key: key);
required this.type, this.canLoad, this.canRemove, this.load, this.remove, this.change });
@override ShallowDropdownInputWidgetState createState() => ShallowDropdownInputWidgetState();
}
class ShallowDropdownInputWidgetState extends State<ShallowDropdownInputWidget> {

View File

@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import 'package:oc_front/main.dart';
import 'package:oc_front/pages/shared.dart';
// ignore: must_be_immutable
class ShallowTextInputWidget extends StatefulWidget {
double? width;
CollaborativeAreaType type = CollaborativeAreaType.workspace;
@@ -31,11 +32,11 @@ class ShallowTextInputWidget extends StatefulWidget {
String? attr;
ShallowTextInputWidget ({ Key? key, this.width, this.current, this.attr, this.readOnly = false, this.alignment = MainAxisAlignment.start,
ShallowTextInputWidget ({ super.key, this.width, this.current, this.attr, this.readOnly = false, this.alignment = MainAxisAlignment.start,
this.iconLoad, this.iconRemove, this.hint, this.forms = const [], this.loadStr,
this.tooltipLoad = "", this.tooltipRemove = "",
this.filled, this.hintColor, this.color,
required this.type, this.canLoad, this.canRemove, this.load, this.remove, this.change }): super(key: key);
required this.type, this.canLoad, this.canRemove, this.load, this.remove, this.change });
@override ShallowTextInputWidgetState createState() => ShallowTextInputWidgetState();
Map<String, dynamic> serialize() {

View File

@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
// ignore: must_be_immutable
class SubDropdownInputWidget extends StatefulWidget {
String subkey;
double width;