You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Sambo Chea b18c4f01a9 updated to interfaces 1 year ago
.github/workflows Task: Add github workflow for tests and publish 1 year ago
example updated to interfaces 1 year ago
lib Task: Add toJson interfaces and export 1 year ago
test Task: Add text formatter functions and updated for configurable from the latest 1 year ago
.gitignore init dart shared 1 year ago
CHANGELOG.md Task: Add text formatter functions and updated for configurable from the latest 1 year ago
LICENSE Task: Add text formatter functions and updated for configurable from the latest 1 year ago
README.md Task: Add cubetiq dart shared library and functions and utils and extensions for developers and completed with configurable 1 year ago
analysis_options.yaml init dart shared 1 year ago
lint.sh Task: Add lint dart format 1 year ago
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 1 year ago

README.md

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.