repaired everything hopefully
This commit is contained in:
@@ -10,7 +10,6 @@ class VarTextField extends StatefulWidget {
|
||||
final DatabasesEnum dbDesignation;
|
||||
final String dbName;
|
||||
final String? defaultValue;
|
||||
final String? otherDefault;
|
||||
final bool required;
|
||||
|
||||
const VarTextField({
|
||||
@@ -21,7 +20,6 @@ class VarTextField extends StatefulWidget {
|
||||
required this.required,
|
||||
required this.dbDesignation,
|
||||
this.defaultValue,
|
||||
this.otherDefault,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -39,10 +37,6 @@ class _VarTextFieldState extends State<VarTextField> {
|
||||
_loadPref();
|
||||
}
|
||||
|
||||
if (widget.otherDefault != null) {
|
||||
widget.textController.text = widget.otherDefault!;
|
||||
}
|
||||
|
||||
_loadData().then((e) => dbVar = e);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user