update mybutton ton cater for new parameters

This commit is contained in:
2024-07-04 14:25:20 +02:00
parent 61ea9f9b44
commit 53f7a12990

View File

@@ -70,10 +70,13 @@ class _ProfileUserUpdateState extends State<ProfileUserUpdate> {
MyDropdownField( MyDropdownField(
controller: titleController, controller: titleController,
signedInUser: widget.signedInUser, signedInUser: widget.signedInUser,
dropdownOptions: const <DropdownMenuEntry<String>>[ hintText: "Title",
DropdownMenuEntry(value: "Dr.", label: "Doctor"), dropdownOptions: const <String>["Dr.", "Assistant"],
DropdownMenuEntry(value: "Assistant", label: "Assistant"), // const <DropdownMenuEntry<String>>[
], // DropdownMenuEntry(value: "Dr.", label: "Dr."),
// DropdownMenuEntry(value: "Assistant", label: "Assistant"),
// ],
required: true,
), ),
const SizedBox(height: 10.0), const SizedBox(height: 10.0),
SizedBox( SizedBox(