updateinput fields to cater for label values & Added a dropdown field widget

This commit is contained in:
2024-07-01 12:26:09 +02:00
parent 7a86144819
commit 4faa844eef
5 changed files with 90 additions and 9 deletions

View File

@@ -39,8 +39,10 @@ class _MyPassFieldState extends State<MyPassField> {
decoration: InputDecoration(
fillColor: Colors.white,
filled: true,
hintText: widget.hintText,
hintStyle: TextStyle(color: Colors.blueGrey[400]),
label: Text(widget.hintText),
labelStyle: const TextStyle(color: Colors.blueAccent),
//hintText: widget.hintText,
//hintStyle: TextStyle(color: Colors.blueGrey[400]),
enabledBorder: const OutlineInputBorder(
borderSide: BorderSide(
color: Colors.blueAccent,