Category "flutter-bloc"

What is the use of BlocSelector in flutter_bloc

There is no example found for the usage of BlocSelector. Anyone knows the real usage of it?

How to change the application language with BlockBuilder?

The application needs to implement language switching at runtime. Wrote a bloc with event and state and called BlocBuilder in main.dart. But I don't know how to

( Flutter Bloc ) doesn't conform to the bound 'StateStreamable<state>' of the type parameter 'B'

why am i getting the error? I couldn't find the reason. I'll be happy if you can help me. error screen You can check my issue on github

Flutter error: Each child must be laid out exactly once. On building layout

I'm using flutter_bloc. I've got code like this: class Settings extends StatelessWidget { final _formKey = GlobalKey<FormState>(); @override Widget

Why AutoCompleteTextField is not showing any suggestion in Flutter?

I am new to Flutter and currently working on a project where I need to show user a list of matched members so that a user can easily select one of them. For tha

BlocProvider.value Vs BlocProvider(create:)

i am using flutter_bloc, and i am wondering which method should i use and what is the difference between these two ways?: i read that the first one with (value)

How to have single instance of a bloc across other blocs

How can I avoid creating another instance of some bloc class? I have two blocs: LoginBloc and AuthBloc . and LoginBloc accepts an instance of AuthBLoc and here

When phone is rotated to landscape mode, the bloc builder is building again

I am using better_player package for showing video from an api. The video url is fetched through bloc. Suppose, I am watching the video and reached halfway, whe

Flutter listen Bloc state from Other Bloc

Hello I'm trying to listen state of bloc form other bloc. I'm using this package https://pub.dev/packages/bloc From my UserBloc I want listen AuthBloc and when