Go to file
Sambo Chea 65e6aac985 Task: Add lint dart format 2021-06-01 22:53:17 +07:00
example Task: Add cubetiq dart shared library and functions and utils and extensions for developers and completed with configurable 2021-06-01 22:50:34 +07:00
lib Task: Add lint dart format 2021-06-01 22:53:17 +07:00
test Task: Add cubetiq dart shared library and functions and utils and extensions for developers and completed with configurable 2021-06-01 22:50:34 +07:00
.gitignore init dart shared 2021-06-01 19:41:14 +07:00
analysis_options.yaml init dart shared 2021-06-01 19:41:14 +07:00
CHANGELOG.md init dart shared 2021-06-01 19:41:14 +07:00
lint.sh Task: Add lint dart format 2021-06-01 22:53:17 +07:00
pubspec.yaml Task: Add cubetiq dart shared library and functions and utils and extensions for developers and completed with configurable 2021-06-01 22:50:34 +07:00
README.md Task: Add cubetiq dart shared library and functions and utils and extensions for developers and completed with configurable 2021-06-01 22:50:34 +07:00

CUBETIQ Dart Shared

A minimal dart functions, utils and extensions for CUBETIQ Developers.

Features

  • Configurable
  • Text Formatter

Usage

A simple configurable usage example:

import 'package:cubetiq/configurable.dart'
    show 
    SystemConfig, 
    getConfigOrNull, 
    SimpleConfigurationProvider,
    setConfig;

main() {
  SystemConfig.setProvider(SimpleConfigurationProvider());
  setConfig('hello', 'Be the World!');

  var title = getConfigOrNull('hello', defaultValue: 'Just Hello');
  print(title); //output will be: Be the World
}

Contributors

Features and bugs

Please file feature requests and bugs at the issue tracker.