modular_test 2.0.0 copy "modular_test: ^2.0.0" to clipboard
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:

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
12
likes
120
points
19.6k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.25 - 2025.04.09

Smart project structure with dependency injection and route management

Repository (GitHub)
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

modular_core

More

Packages that depend on modular_test