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

@@ -33,10 +33,13 @@ class MyMLTextField extends StatelessWidget {
readOnly: makeEditable(),
obscureText: false,
decoration: InputDecoration(
label: Text(hintText),
labelStyle: const TextStyle(color: Colors.blueAccent),
alignLabelWithHint: true,
fillColor: Colors.white,
filled: true,
hintText: hintText,
hintStyle: TextStyle(color: Colors.blueGrey[400]),
//hintText: hintText,
//hintStyle: TextStyle(color: Colors.blueGrey[400]),
enabledBorder: const OutlineInputBorder(
borderSide: BorderSide(
color: Colors.blueAccent,