scarabei_reyer 1.5.1 copy "scarabei_reyer: ^1.5.1" to clipboard
scarabei_reyer: ^1.5.1 copied to clipboard

outdatedDart 1 only

Collection of open source reusable Dart components

scarabei_reyer #

Pub Package GitHub Issues GitHub Forks GitHub Stars GitHub License

Default implementations if the scarabei API https://pub.dartlang.org/packages/scarabei

Installation

    L.installComponent(new SimpleLogger()); //logger
    Err.installComponent(new RedError()); //errors reporter
    Debug.installComponent(new RedDebug()); // asserts for debug and testing
    Utils.installComponent(new RedUtils()); //utils including the path-factory

    {
    
      //here we install a Windows file-system
      LocalFileSystem.installComponent(new WinFileSystem());
      
      //Windows is POSIX now too
      LocalFileSystem.deInstallCurrentComponent();
      LocalFileSystem.installComponent(new UnixFileSystem());
      
      // Android
      LocalFileSystem.deInstallCurrentComponent();
      LocalFileSystem.installComponent(new AndroidFileSystem());
      //This was the last line where we cared about the filesystem type (PISIX/Windows)
      //From this moment onwards, the path works in a generic way.
      

    }


    Json.installComponent(new DartJson());
    Strings.installComponent(new RedStrings()); // some utils for strings
    Sys.installComponent(new RedAndroidSystem()); //...
    SystemSettings.installComponent(new RedSystemSettings()); //...
    SystemSettings.setExecutionMode(ExecutionMode.EARLY_DEVELOPMENT); // activate debugging flags
    SystemSettings.setExecutionMode(ExecutionMode.PUBLIC_RELEASE); // deactivate production mode

    MD5.installComponent(new RedMD5());
0
likes
15
pub points
0%
popularity

Publisher

unverified uploader

Collection of open source reusable Dart components

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

crypto, logging, path, scarabei

More

Packages that depend on scarabei_reyer