modular_test 2.0.0 icon indicating copy to clipboard operation
modular_test: ^2.0.0 copied to clipboard

Smart project structure with dependency injection and route management

modular_test #

Init Modules and test the integration

Getting Started #

Add in your pubspec.yaml


dev_dependencies:
 modular_test:

Using #

Start a Module #


main(){
    setUp(){
        initModule(AppModule());
    }
}

Start more then one Module #


main(){
    setUp(){
        initModules([AppModule(), HomeModule(), PerfilModule()]);
    }
}

Replace binds of Module #


main(){

    final dioMock = DioMock();

    setUp(){
        initModule(AppModule(), replaceBinds: [
            Bind.instance<Dio>(dioMock),
        ]);
    }
}

9
likes
110
pub points
90%
popularity

Publisher

unverified uploader

Smart project structure with dependency injection and route management

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

modular_core

More

Packages that depend on modular_test