update mybutton ton cater for new parameters
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user