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 65e6aac985 Task: Add lint dart format 1 year ago
example Task: Add cubetiq dart shared library and functions and utils and extensions for developers and completed with configurable 1 year ago
lib Task: Add lint dart format 1 year ago
test Task: Add cubetiq dart shared library and functions and utils and extensions for developers and completed with configurable 1 year ago
.gitignore init dart shared 1 year ago
CHANGELOG.md init dart shared 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 cubetiq dart shared library and functions and utils and extensions for developers and completed with configurable 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.