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 3b2abdc030 Updated and fixed 3 months ago
.github/workflows Task: Add github workflow for tests and publish 6 months ago
example Task: Add i18n translator and factory for translatable for text formatter and default factory 6 months ago
lib Task: Add show for xlogger function 6 months ago
test Task: Add i18n translator and factory for translatable for text formatter and default factory 6 months ago
.drone.yml Updated and fixed 3 months ago
.gitignore Task: Add i18n translator and factory for translatable for text formatter and default factory 6 months ago
CHANGELOG.md Release to 1.0.1 6 months ago
LICENSE Task: Add text formatter functions and updated for configurable from the latest 6 months ago
README.md Task: Add cubetiq dart shared library and functions and utils and extensions for developers and completed with configurable 6 months ago
analysis_options.yaml init dart shared 6 months ago
lint.sh Task: Add lint dart format 6 months ago
pubspec.yaml Release to 1.0.1 6 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.