python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
StreamBuilder / ChangeNotifierProvider- setState() or markNeedsBuild() called during build
Streambuilder, ChangeNotifier and Consumer cannot figure out how to use correctly. Flutter
I've tried and tried and tried, I've searched a lot but I cannot figure this out:
I'm using a Streambuilder t...
Mirakle
Votes: 0
Answers: 1
Refresh page if data isn't shown on screen
I have a Future in my initState function that gets jwt from cache and uses it to get the logged in user's details. The initState function is:
@override
void initState() {
super.initState();
...
rawm
Votes: 0
Answers: 1
How do I keep a instantiated variable unchanged after using Provider.of
I have a page where I can choose a user theme color that is used as colors in my app. I have it set up so a modal bottom sheet pops up with the color options and then sets it using Provider so when th...
steve
Votes: 0
Answers: 1
How notifyListeners( ) actually works?
So, I have this class and I use the method addItem to add some item to my cart and itemsCount to have my total items show up in my cart icon in AppBar.
My question is, how the itemsCount is update aft...
Eduarda Garangau
Votes: 0
Answers: 0