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

Generic configuration management system for Flutter apps (feature flags + remote config + local storage)

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add tool_config

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  tool_config: ^0.1.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:tool_config/config.dart';
import 'package:tool_config/data/errors/config_error_handler_provider.dart';
import 'package:tool_config/data/errors/feature_not_supported_exception.dart';
import 'package:tool_config/data/models/feature.dart';
import 'package:tool_config/data/models/feature_name.dart';
import 'package:tool_config/data/models/feature_state.dart';
import 'package:tool_config/data/models/features_state_contract.dart';
import 'package:tool_config/data/providers/feature_flags/feature_flags_provider.dart';
import 'package:tool_config/data/providers/feature_flags/local_feature_flags_provider.dart';
import 'package:tool_config/data/providers/feature_flags/remote_feature_flags_provider.dart';
import 'package:tool_config/data/providers/remote_config/firebase_remote_config_provider.dart';
import 'package:tool_config/data/providers/remote_config/remote_config_provider.dart';
import 'package:tool_config/declaration/tool_config_di.dart';
import 'package:tool_config/declaration/tool_config_module.dart';
import 'package:tool_config/declaration/tool_config_module_impl.dart';
import 'package:tool_config/declaration/tool_config_params.dart';
import 'package:tool_config/domain/repositories/feature_flags_repository.dart';
import 'package:tool_config/domain/repositories/feature_flags_repository_extensions.dart';
import 'package:tool_config/domain/repositories/feature_flags_repository_impl.dart';
import 'package:tool_config/domain/repositories/stub_feature_flags_repository.dart';
0
likes
50
points
10
downloads

Publisher

unverified uploader

Weekly Downloads

Generic configuration management system for Flutter apps (feature flags + remote config + local storage)

Homepage

License

MIT (license)

Dependencies

firebase_remote_config, flutter, flutter_localizations, freezed_annotation, get_it, intl, rxdart, tool_arch, tool_errors, tool_locale, tool_logger, tool_modularity, tool_network, tool_storage, tool_utils

More

Packages that depend on tool_config