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 83c1c1b67f
Changed branch
5 months ago
.github/workflows Changed branch 5 months ago
example Add base model 5 months ago
lib Add base model 5 months ago
test Task: Add i18n translator and factory for translatable for text formatter and default factory 2 years ago
.drone.yml Updated and fixed 2 years ago
.gitignore Task: Add i18n translator and factory for translatable for text formatter and default factory 2 years ago
CHANGELOG.md Release to 1.0.1 2 years ago
LICENSE Task: Add text formatter functions and updated for configurable from the latest 2 years ago
README.md Task: Add cubetiq dart shared library and functions and utils and extensions for developers and completed with configurable 2 years ago
analysis_options.yaml init dart shared 2 years ago
lint.sh Task: Add lint dart format 2 years ago
pubspec.yaml Release to 1.0.1 2 years 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.