altfire_configurator

Creator: coderz1093

Last updated:

Add to Cart

Description:

altfire configurator

AltFire Configurator #
Provides a wrapper class for the FlutterFire RemoteConfig package to simplify its usage.
Getting started #
dependencies:
altfire_configurator: any
copied to clipboard
Usage #

Create an instance of Configurator.
Set default values as needed.
Use the instance of Configurator to retrieve configuration values. You can specify a callback in onConfigUpdated that is called when the configuration values are updated.

final configurator = Configurator();
...
await configurator.setDefaultConfig({'int_parameter', 123});
...
final intConfig = configurator.getIntConfig(
'int_parameter',
onConfigUpdated: (value) {
print('int_parameter: $value');
},
);
copied to clipboard

License

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

Files:

Customer Reviews

There are no reviews.