test: update auth field tests

This commit is contained in:
Udhay-Adithya
2025-07-19 13:42:27 +05:30
parent ca71e07374
commit a219069ce3
7 changed files with 571 additions and 331 deletions

View File

@@ -21,7 +21,7 @@ class EnvAuthField extends StatefulWidget {
this.readOnly = false,
this.isObscureText = false,
this.infoText,
this.initialValue});
required this.initialValue});
@override
State<EnvAuthField> createState() => _AuthFieldState();
@@ -59,7 +59,7 @@ class _AuthFieldState extends State<EnvAuthField> {
EnvironmentTriggerField(
keyId: "auth-${widget.title ?? widget.hintText}-${Random.secure()}",
onChanged: widget.onChanged,
initialValue: widget.initialValue,
initialValue: widget.initialValue ?? "",
readOnly: widget.readOnly,
// TODO: Needs some new implementation
// obscureText: widget.isObscureText,