initDropDownBloc function
call this method to initialize your own dropdown bloc localKey -> key used to store values
Implementation
UIDropDownBloc initDropDownBloc({List<String> dropDownItems = const ["Test 1", "Test 2"], String value = "", String localKey = "ui_dropdown_bloc_value"}) {
if(value.isEmpty) {
value = dropDownItems.first;
}
return UIDropDownBloc(getLocalDS(), dropDownItems, value, localKey: localKey);
}