The switch-case statement from a flutter blocbuilder is not recognising the return statement. I dont understand why this is happening. The body might ...
The switch-case statement from a flutter blocbuilder is not recognising the return statement. I dont understand why this is happening. The body might ...
I'm going to develop a management app for a company in Flutter and since I never worked with this framework i was looking for the best practices and d ...
I'm developing an app using movies database API. I want to read a list of the movies and then choose one and display the details to user. MovieDetails ...
With latest flutter bloc version , the events are processed concurrently. here's is the scenario. How to make concurrent signal R requests and sh ...
I'm developing an app that diplays an alert every time the user turns off the device's Wifi and Mobile Data. I'm also using Auto_Route for navigation. ...
I am using table_calendar flutter package to add a calendar with events. I need to declare a function that uses state from bloc. Is there any problem ...
I am trying to use hydrated bloc to persist my cubit. But after some trial and error, I found that the loaded state will always be replaced with the ...
I have a form that has a header which a user can select a photo from gallery as well as an avatar with the same functionality. Then below that I have ...
I have 2 different views with two different blocs. One page displays data that is edited on the second page. When I upload values from my bloc on the ...
I have the next architecture : ScreenA > ScreenB /// Here i navigate from ScreenA to ScreenB, so here i create the BlocB that i'm going to use Bl ...
I am new to Flutter and BloC so I wanted to create a project to improve my knowledge about them. Down below you can see the dart files. bnb_cubit.da ...
I have a MainFormBloc which is in charge of submitting the form. I have a username and password bloc each with their separate logic. Once the username ...
I am using Bloc for my application, however I was doing something wrong and that is, providing all BlocProvider creates in the MaterialApp and I would ...
. Answers to this question are eligible for a +400 reputation bounty. А ...
I have created an event for radio button like functionality where user can select only single element at a time. But when I trigger the event to selec ...
I have a screen that displays a stock value of an asset an asset selection dropdown For now, I put all those values in a singe State class: ...
Main question Hello! In Flutter I am using BLoC, and more specifically cubits, to manage the state of my app. I have a few states in my weather_stat ...
I need to reset state of child BLOC when state of parent BLOC is changed. Let's say I have an image which is managed by ChildBloc which have a method ...
I need an advice or magic kick in case how to one BLOC can work with other related BLOC. I have this structure building -> floors -> floorplan. ...
Inside my app.dart I have my BlocProviders: and after my BlocProviders I have the MaterialApp. The problem is: For the SysUiCubit I need the state ...