1 原生
原生的下拉框非常简陋
final _value = 1.obs;
Obx(() => DropdownButton(
items: [
DropdownMenuItem(child: Text("111"), value: 1),
DropdownMenuItem(child: Text("222"), value: 2),
DropdownMenuItem(child: Text("333"), value: 3),
DropdownMenuItem(child: Text("444"), value: 4),
],
value: _value.value,
onChanged: (value) {
_value.value = value as int;
})),