core/di_service library
Properties
- serviceLocator → GetIt
-
final
Functions
-
getLocalDS(
) → IuITemplateLocalDatasource -
getService(
) → IuITemplateServices -
getUIDropDownBloc(
) → UIDropDownBloc -
initDropDownBloc(
{List< String> dropDownItems = const ["Test 1", "Test 2"], String value = "Test 1", String localKey = "ui_dropdown_bloc_value"}) → UIDropDownBloc - call this method to initialize your own dropdown bloc localKey -> key used to store values
-
setupSingleInstance(
{List< String> dropDownItems = const ["Test 1", "Test 2"]}) → void - call this if you want to have a access to a single instance of the BloC
-
setupUITemplateServices(
) → void