network_to_ui library
Classes
- AuthService
- DataRequestBloc
- DataRequestWidget
- DioBaseNetwork
- DioBaseNetworkConfig
-
LoadMoreUiBuilder<
T extends Object> -
LoadMoreUiBuilderState<
T> -
NetWorkToUiBuilder<
T extends Object> -
A widget that builds UI based on network data from
NetworkToUiBloc. Supports loading, data, error, and more states with customizable widgets and callbacks. -
NetWorkToUiBuilderState<
T> -
State class for NetWorkToUiBuilder, managing the
NetworkToUiBloclifecycle and UI rendering. - ObjectFactory
- ResponseOb
- StorageInterface
- Abstract interface for storage operations.
Properties
- getIt → GetIt
-
final
Functions
-
initializeNetwork(
) → Future< StorageInterface> - Initializes the network_to_ui package by setting up dependencies and storage. Returns the StorageInterface instance for accessing stored data.
-
setupLocator(
) → void
Typedefs
- CallBackFunction = void Function(ResponseOb)
-
ChildWidget<
T extends Object> = Widget Function(T data, RefreshLoad func, bool? isList) -
CustomMoreWidget
= Widget Function(Map<
String, dynamic> data) - MoreFuncMethod = void Function(ResponseOb ob)
-
OnAsyncPressed
= Future<
Map< ? Function()String, dynamic> ?> - OnPressed = dynamic Function()
- ProgressCallbackFunction = void Function(double)
- StateFuncMethod = void Function(ResponseOb ob)
- SuccessFuncMethod = void Function(ResponseOb ob)
- ValidFuncMethod = void Function(ResponseOb ob)