altfire_configurator 0.1.0 copy "altfire_configurator: ^0.1.0" to clipboard
altfire_configurator: ^0.1.0 copied to clipboard

altfire_configurator with FlutterFire Remote Config.

AltFire Configurator #

Provides a wrapper class for the FlutterFire RemoteConfig package to simplify its usage.

Getting started #

  altfire_configurator: any

Usage #

  1. Create an instance of Configurator.
  2. Set default values as needed.
  3. 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(
  onConfigUpdated: (value) {
    print('int_parameter: $value');