dynamic_environment

Creator: coderz1093

Last updated:

0 purchases

dynamic_environment Image
dynamic_environment Images

Languages

Categories

Add to Cart

Description:

dynamic environment

dynamic-environment #
A plugin for dynamically changing the base URL in requests
Getting Started #
In order to show a dialog for changing the URL you need to call a requestDialog function.
Optionally you can provide baseUrl to display it in dialogue.
requestDialog(
context,
baseUrl: 'https://example.com/',
);
copied to clipboard
The next step is to add DynamicEnvironmentInterceptor to the Dio instance.
dio.interceptors.add(DynamicEnvironmentInterceptor());
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.