Events and states for the sign-in form BLoC are in place after the previous part. It’s time to finally write some logic in the application layer that will be responsible for gluing the UI presentation layer together with the other layers of the app.

The logic performed inside BLoCs is focused on transforming incoming events into states. For example, a raw String will come in from the UI and a validated EmailAddress will come out.

#firebase #flutter #developer

Flutter Firebase & DDD Course [5] – Sign-In Form Logic (Bloc)
1.60 GEEK