initDropDownBloc function

UIDropDownBloc initDropDownBloc({
  1. List<String> dropDownItems = const ["Test 1", "Test 2"],
  2. String value = "Test 1",
  3. String localKey = "ui_dropdown_bloc_value",
})

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 = "Test 1", String localKey = "ui_dropdown_bloc_value"}) {
  return UIDropDownBloc(getLocalDS(), dropDownItems, value, localKey: localKey);
}