Clone the with_currency_converter
branch with the command:
git clone --single-branch --branch with_currency_converter [email protected]:bstenm/flutter_fintech.git
You will then get the code using provider for the global state for a currency converter that is displayed in a dialog box when tapping on the total balance amount.
Clone the master branch to get the code without currency converter.
- Unit tests and widgets test in the
test/
folder: run the test withflutter test
- Integration tests in the
test_driver/
folder: run the tests withflutter drive --target=test_driver/app.dart
Some people are ok with big widgets but it can impact readability and make writing tests difficult, some likes dividing everything into very small widgets but you can end up with tons of little files and makes it unconvenient to navigate the widget tree. I like a compromise: The widget size depends on how easy to test it will be, and I also try to keep my file roughly under 100 lines of code.