Go to file
Sambo Chea 3b2abdc030
All checks were successful
continuous-integration/drone/push Build is passing
Updated and fixed
2021-09-11 17:36:11 +07:00
.github/workflows Task: Add github workflow for tests and publish 2021-06-01 23:07:23 +07:00
example Task: Add i18n translator and factory for translatable for text formatter and default factory 2021-06-17 15:25:40 +07:00
lib Task: Add show for xlogger function 2021-06-17 18:27:50 +07:00
test Task: Add i18n translator and factory for translatable for text formatter and default factory 2021-06-17 15:25:40 +07:00
.drone.yml Updated and fixed 2021-09-11 17:36:11 +07:00
.gitignore Task: Add i18n translator and factory for translatable for text formatter and default factory 2021-06-17 15:25:40 +07:00
analysis_options.yaml init dart shared 2021-06-01 19:41:14 +07:00
CHANGELOG.md Release to 1.0.1 2021-06-17 15:48:49 +07:00
LICENSE Task: Add text formatter functions and updated for configurable from the latest 2021-06-01 23:03:54 +07:00
lint.sh Task: Add lint dart format 2021-06-01 22:53:17 +07:00
pubspec.yaml Release to 1.0.1 2021-06-17 15:48:49 +07:00
README.md Task: Add cubetiq dart shared library and functions and utils and extensions for developers and completed with configurable 2021-06-01 22:50:34 +07:00

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.