Prime-Holding / rx_bloc

A set of Flutter packages that help implement the BloC (Business Logic Component) design pattern using the power of reactive streams
https://pub.dev/packages/rx_bloc
62 stars 21 forks source link

Remove dependencies in test mode for smart widgets #746

Closed nikolay-vasilev-prime closed 2 months ago

nikolay-vasilev-prime commented 2 months ago

Overview

Closes: 700

In order to be able to generate golden tests, we need to exclude the injected dependencies from the views. We created a constant that checks if we are executing from test environment in order to achieve that.

Checklist

Implementation

Stability

Code quality