Skip to content

A refactored and fully tested version of a previous app that I made, using the BLoC library.

License

Notifications You must be signed in to change notification settings

alvesluc/dt_money_bloc

Repository files navigation

Dt Money

License: MIT

About

This project was initially developed with React, in a event called Next Level Week, which is a intense week of free content with an amazing quality, then I've cloned it using Flutter with the same design that was first purposed, you can check it here.

Feature-wise, this is the same application, but now is fully tested and uses the combination of Material 3 and Bloc.

Web version

image

Mobile version

image

Getting Started 🚀

Before runing:

flutter pub get

This project contains 3 flavors:

  • development
  • staging
  • production

To run the desired flavor either use the launch configuration in VSCode/Android Studio or use the following commands:

Development

flutter run --flavor development --target lib/main_development.dart

Staging

flutter run --flavor staging --target lib/main_staging.dart

Production

flutter run --flavor production --target lib/main_production.dart

Running Tests 🧪

To run all unit and widget tests use the following command:

$ flutter test --coverage --test-randomize-ordering-seed random

To view the generated coverage report you can use lcov.

# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html

About

A refactored and fully tested version of a previous app that I made, using the BLoC library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published