dropDownKnowledgeAndSkillsOptions property
List<DropdownMenuItem<String> >
get
dropDownKnowledgeAndSkillsOptions
Implementation
static List<DropdownMenuItem<String>> get dropDownKnowledgeAndSkillsOptions {
Map<String, String> options = {
"High specialised knowledge required": "High specialised knowledge required",
"Rather high specialised knowledge required": "Rather high specialised knowledge required",
"Specialised knowledge required neither high nor low": "Specialised knowledge required neither high nor low",
"Rather low specialised knowledge required": "Rather low specialised knowledge required",
"No specialised knowledge required": "No specialised knowledge required",
"I am not sure": "I am not sure",
"Not applicable": "Not applicable",
"": "None of above",
};
List<DropdownMenuItem<String>> knowledgeAndSkillsItems = [];
for (MapEntry<String, String> option in options.entries) {
knowledgeAndSkillsItems.add(
DropdownMenuItem(
value: option.key,
child: Text(option.key),
),
);
}
return knowledgeAndSkillsItems;
}