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

altfire_configurator is a package wrapping FlutterFire Remote Config. It was created to make Firebase SDK versioning and methods easier to use. It is recommended to use the various altfire packages as a set.

AltFire Configurator #

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

Getting started #

dependencies:
  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(
  'int_parameter',
  onConfigUpdated: (value) {
    print('int_parameter: $value');
  },
);
2
likes
130
pub points
68%
popularity

Publisher

verified publisheraltive.co.jp

altfire_configurator is a package wrapping FlutterFire Remote Config. It was created to make Firebase SDK versioning and methods easier to use. It is recommended to use the various altfire packages as a set.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

firebase_remote_config, meta

More

Packages that depend on altfire_configurator