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 12 months ago
example Task: Add cubetiq dart shared library and functions and utils and extensions for developers and completed with configurable 12 months ago
lib Task: Add lint dart format 12 months ago
test Task: Add cubetiq dart shared library and functions and utils and extensions for developers and completed with configurable 12 months ago
.gitignore init dart shared 12 months ago
CHANGELOG.md init dart shared 12 months ago
README.md Task: Add cubetiq dart shared library and functions and utils and extensions for developers and completed with configurable 12 months ago
analysis_options.yaml init dart shared 12 months ago
lint.sh Task: Add lint dart format 12 months ago
pubspec.yaml Task: Add cubetiq dart shared library and functions and utils and extensions for developers and completed with configurable 12 months 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.