Top "Bloc" questions

BLoC stands for Business Logic Component.

flutter: Unhandled Exception: Bad state: Cannot add new events after calling close

I am trying to use the bloc pattern to manage data from an API and show them in my widget. …

dart flutter bloc
BlocProvider.of() called with a context that does not contain a Bloc - even that it does

First of, I do know how BLoC suppose to work, the idea behind it and I know the difference between …

flutter navigation bloc flutter-bloc
Bloc, Flutter and Navigation

So like most, i'm new to Bloc and flutter and dart and wrapping my head around. I've googled, looked through …

navigation flutter bloc
BlocProvider.of() called with a context that does not contain a Bloc of type CLASS

in flutter i just learn how can i use Bloc on applications and i want to try to implementing simple …

flutter bloc
Failed assertion line 5120 pos 12: 'child = _child' is not true

I am trying to create a listview with API data using bloc pattern following is the error: 'package:flutter/src/…

flutter bloc
Choosing the correct Flutter design pattern

I have created a Flutter page which has a bunch of inputs in it. I thought this is a mess, …

design-patterns flutter bloc
Animate elements in ListView on initialization

I want to achieve something like below (animation style doesn't matter, I'm looking for the way to do this) However, …

flutter dart flutter-animation bloc flutter-animatedlist
Flutter- Understanding the lifecycle of Provider, Bloc and when to dispose the stream

Need to understand when we should Bloc pattern and life cycle of Bloc (how to release objects holding memory) I …

flutter bloc inherited-widget flutter-provider
Flutter Bloc is not updating the state/ not working

I am developing a mobile application using Flutter. I am using the flutter block package, https://pub.dev/packages/flutter_…

flutter bloc flutter-bloc
MVVM vs Bloc patterns

I'm creating a new app with Flutter, and I'm trying to design it, separating the business logic from the view. …

mvvm flutter bloc