cubit Questions
2
Solved
I have a dialog and I wrap it in a blocbuilder to update it according to the type of state but the dialog just is built First time and after state has changed it doesn't rebuild.
showDialog(
conte...
Gervais asked 26/12, 2021 at 6:15
5
So, I have made a function in Cubit Class it is to get data from API. For now I just can get the data if I pressed a button. I wanna make the function automatically called when the page/screen is o...
Scofield asked 3/11, 2021 at 1:43
2
Solved
I was developing an application in flutter which does OTP based authentication to log in. Earlier I was managing the states in the class itself so that I can use the setState method to render the U...
Pave asked 25/5, 2021 at 7:36
2
Solved
I have an app that I build using Cubit
I have two pages A and B.every thing works fine on its own. I use a change status cubit on both pages but when I move to the second page and pop to return to ...
Bookmark asked 10/10, 2022 at 14:43
4
Solved
While using BLoC library we store all the variables in a state class. But where to store TextEditingController, which does not change, but the value of it does?
Let's say I have a state class like ...
Inlet asked 11/1, 2021 at 19:34
1
I'm working on an application that uses cubits to manage the state.
Very often when I need to make an API request I need to get my current localization (handle possible exceptions) and then send it...
Colugo asked 23/6, 2022 at 22:30
2
Solved
I am working on a multilingual app in Flutter.
I used flutter_localizations package for localization and intl package for internationalization.
In the normal way inside Widgets, I can use it with h...
Setaceous asked 11/4, 2022 at 5:51
1
© 2022 - 2024 — McMap. All rights reserved.