modular_test

Creator: coderz1093

Last updated:

Add to Cart

Description:

modular test

modular_test #
Init Modules and test the integration
Getting Started #
Add in your pubspec.yaml

dev_dependencies:
modular_test:

copied to clipboard
Using #
Start a Module #

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

copied to clipboard
Start more then one Module #

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

copied to clipboard
Replace binds of Module #

main(){

final dioMock = DioMock();

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

copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.