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

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

AltFire Configurator #

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

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.

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');
  },
);
4
likes
160
points
248
downloads

Publisher

verified publisheraltive.co.jp

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

firebase_remote_config, flutter, meta

More

Packages that depend on altfire_configurator