Provider trying to update my count when ever will I receive Notification?

I am unable to update my Ui //// HERE I AM GETTING THE UPDATE DATA IN CONSOLE BUT UNABLT TO UPDATE INSIDE MY UI My NotificationCountClass <pre><code>...

How to reload the page when some changes made from API Call Flutter

I am creating food ordering mobile application using Flutter. Every thing is working as expected but I am stuck in one point. I want to update the cart page, my page c...

Flutter: Importing image Url from Network error

Hello I am new to flutter and was doing an ecommerce app while importing images URLs from firebase SOMETIMES while calling the Image.network gives me this...

How to call a method from one statefulWidget in another Widget (Flutter)

I am trying to run method <code>doAnimation</code> from another widget by clicking on a <code>FloatingActionButton</code>. Please tell me how to do this with this simp...

how to use two getx mixin in flutter

how can I use two getx state mixins, for example, if am trying to fetch current weather and I want to fetch hourly or previous weather; with change(null,status:RxStatu...

Bloc error apiState dataloading isnt a type. Try correcting the name to match an existing type ,showing error with freezed package

i am trying to learn bloc with freezed .Everything was fine in event,state &amp; bloc but when i am trying build with blocbuilder,this error occured while implementing...

Flutter - State management with just Providers package - How to share user data across different provider classes

I am trying to write an app that has authentication and several screens. I need to pass user data (token) to other providers so that they can invoke an authenticated A...

QuestionController was used after being disposed

the app I am making takes questions from an API and displays them with a timer of 3 minutes. Now after the questions are done in the 1st round the participant will be...

Tried to listen to a value exposed with provider, from outside of the widget tree. But I want to listen to it

I am trying to listen for updates made to a string variable in my provider model. Flutter is suggesting that I do not listen to them as the listener is apparently out...

Provider isnt notified when users sign up

<h1>Context</h1> I am trying to build an app, using <strong>Flutter</strong>, which requires the users to <strong>sign up</strong> and/or <strong>sign in</strong>. Usi...

Flutter State wont update

I'm trying to create a listview of cards whose images get displayed in the listview only if the card is selected. The selection widget is the <strong>PopupSubscription...

Does Cubit only works with Stateless Widgets?

I am trying to apply this state management but i cannot implement it. If I use stateless widget, i can easily implement it but stateful it is complicated and i cannot...

Widget width not updating after value change

I am trying to build a side menu that will open and close when the arrow icon at the bottom of the vertical app bar seen in the screenshots below is pressed. I am curr...

Why use InheritedWidget while we can use Broadcast Streams | StreamBuilder and Static Variables

Why use InheritedWidget while we can use Broadcast Streams | StreamBuilder and Static Variables? Why should we bother about redux, scoped model, etc. while we...

API data from provider seems to get lost during Navigation

I am a beginner level Flutter developer trying to resolve the issue with the Navigation stack. In the existing app: <ul> <li>When user logs in to the app, login ap...