Go to file
Sambo Chea 7ec5118598 Task: Add text formatter functions and updated for configurable from the latest
functions with future and async support and add tests and examples
2021-06-01 23:03:54 +07:00
example Task: Add text formatter functions and updated for configurable from the latest 2021-06-01 23:03:54 +07:00
lib Task: Add text formatter functions and updated for configurable from the latest 2021-06-01 23:03:54 +07:00
test Task: Add text formatter functions and updated for configurable from the latest 2021-06-01 23:03:54 +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 Task: Add text formatter functions and updated for configurable from the latest 2021-06-01 23:03:54 +07:00
LICENSE Task: Add text formatter functions and updated for configurable from the latest 2021-06-01 23:03:54 +07:00
lint.sh Task: Add lint dart format 2021-06-01 22:53:17 +07:00
pubspec.yaml Task: Add text formatter functions and updated for configurable from the latest 2021-06-01 23:03:54 +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.