════════ Exception caught by widgets library ═══════════════════════════════════ The following assertion was thrown building Obx(has builder, dirty, state: ObxState#90a06): There should be exactly one item with [DropdownButton]'s value: some book type. Either zero or 2 or more [DropdownMenuItem]s were detected with the same value 'package:flutter/src/material/dropdown.dart': Failed assertion: line 948 pos 15: 'items == null || items.isEmpty || value == null || items.where((DropdownMenuItem item) { return item.value == value; }).length == 1'
ماشااللہ
Nice video❤
Good helpful dropdown example
DropdownButton good job
❤❤❤❤
good about getx
Drop down drop down example good
nice code
i can do same thing but getting error
════════ Exception caught by widgets library ═══════════════════════════════════
The following assertion was thrown building Obx(has builder, dirty, state: ObxState#90a06):
There should be exactly one item with [DropdownButton]'s value: some book type.
Either zero or 2 or more [DropdownMenuItem]s were detected with the same value
'package:flutter/src/material/dropdown.dart':
Failed assertion: line 948 pos 15: 'items == null || items.isEmpty || value == null ||
items.where((DropdownMenuItem item) {
return item.value == value;
}).length == 1'