Go to file
2021-06-02 17:16:54 +07:00
.github/workflows Task: Add github workflow for tests and publish 2021-06-01 23:07:23 +07:00
example Task: Add toJson interfaces and export 2021-06-02 17:16:54 +07:00
lib Task: Add toJson interfaces and export 2021-06-02 17:16: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 XLog and factory logger with simple implemented with print and add functions more for utils and print color that using ansi color lib and export some useful methods and functions 2021-06-02 17:08:41 +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.