python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Undefined name 'state' for flutter bloc version 8.0.0
I am trying to access bloc (using newest version of flutter_bloc: 8.0.0) state value within BlocBuilder, but I keep getting error that state is undefined. I found this answer to similar question, but ...

rdev
Votes: 0
Answers: 1
flutter_login and flutter_bloc navigation after authentication: BlocListener not listening to state change
I am trying to combine this with bloc, using this design pattern from the docs.
After the state has been instantiated, BlocListener stops listening to the authentication bloc and I am kind of forced t...

Fi Li Ppo
Votes: 0
Answers: 1
How to handle validation and navigation situation on Cubit right way?
In my application I have AddServerScreen Page which allows me to add Servers to Cubit. The server object has two properties, alias and address. If the alias of the server to be added matches one of th...

Emil Mammadov
Votes: 0
Answers: 0
Flutter - How can I pass a Bloc as a parameter in a reusable Widget?
I'm building a login page, and I have created what I intend to be used as a fully dynamic TextField widget.
I now need to create 2 instances of that widget (email and password inputs) and send paramet...
solacking
Votes: 0
Answers: 1