setupSingleInstance function

void setupSingleInstance({
  1. List<String> dropDownItems = const ["Test 1", "Test 2"],
})

call this if you want to have a access to a single instance of the BloC

Implementation

void setupSingleInstance({List<String> dropDownItems = const ["Test 1", "Test 2"]}){
  serviceLocator.registerLazySingleton(() => initDropDownBloc(dropDownItems: dropDownItems));
}