flutter_modular_test 1.0.4 copy "flutter_modular_test: ^1.0.4" to clipboard
flutter_modular_test: ^1.0.4 copied to clipboard

Smart project structure with dependency injection and route management

flutter_modular_test #

@DEPRECATED: This package will be discontinued. Use modular_test instead

Init Modules and test the integration

Getting Started #

Add in your pubspec.yaml


dev_dependecies:
  flutter_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),
        ]);
    }
}

5
likes
90
pub points
72%
popularity

Publisher

verified publisherflutterando.com.br

Smart project structure with dependency injection and route management

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter, flutter_modular

More

Packages that depend on flutter_modular_test