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)
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 Error : Could not find the correct Provider<StateStreamable<Object?>> above this BlocBuilder<StateStreamable<Object?>
I'm trying to implements a Cubit that is used to make the navigation bewteen the pages.
My first try was to implement it on my background screens, but I got this error when trying to do it :
"Err...

Zouglou
Votes: 0
Answers: 1
I have a problem with Null Safety an the problem is 'Null check operator used on a null value'
It happened when getting some data from firebase and decoding them using model,
and here is the method:
UserModel? userModel;
void getUser() {
emit(GetUserLoadingsState());
FirebaseFirestore.instance...
Alaa Elsweedy
Votes: 0
Answers: 1
flutter cubits display data on a DataTable depending on the data from other DataTables
I'm new to flutter, flutter_bloc library particularly with cubits.
I'm trying to populate dynamic data from 3 different api calls to DataTables using cubits.
The pattern is as follows:
Gather the par...

leipzy
Votes: 0
Answers: 0