forked from cubetiq/cubetiq_dart_shared
.github/workflows | ||
example | ||
lib | ||
test | ||
.drone.yaml | ||
.gitignore | ||
analysis_options.yaml | ||
CHANGELOG.md | ||
LICENSE | ||
lint.sh | ||
pubspec.yaml | ||
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
- Sambo Chea sombochea@cubetiqs.com
Features and bugs
Please file feature requests and bugs at the issue tracker.