Issues with Flutter state

<strong>This is an experiment with Flutter</strong>. I was trying to create a paragraph generator in Flutter. Made a UI <a href="https://i.stack.imgur.com/E9wt...

Flutter problem with TypeErrorImpl was thrown building

Hello everyone I am using the Get.to(Page()) and when I navigate to the page I get the following error and I don't understand why: Error: <pre><code>=======...

flutter change setStateicon of that particular box which I click

I want to change icon of that specific box in a loop that I click. I have two icons that have onTap functionality. and on click user add to fav list and when the respo...

Flutter Consumer notifed when page disposing

I have a global provider to contain data used in multiple pages. Basic idea is the pages will require data and write it to the provider then whenever the pages dispose...

How to keep widget state while switching between widgets?

I'm developing a web app, where I'm trying to add a chat screen. I'm trying to use the <code>floatingActionButton</code> parameter and witching between <code>FloatingA...

Managing routing and state from a central place in flutter

I have this simple flutter app that consists of just two pages linked with the router which is defined in the main() function. However, i would like to isolate my clas...

Flutter What is difference between valueNotifier,changeNotifier,stateNotifier?

What is difference between valueNotifier,changeNotifier,stateNotifier?

How manage state of different widgets in ListView flutter?

I am building a Flutter App where a List is shown using ListView. Which returns a ListTile with User Information. The <code>ListTile</code> contains a <code>leading</c...

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...

Preserving state between different pages

I've 2 different pages: <pre><code>page1 -&gt; page2 </code></pre> I'm navigating from page 1 to 2, using a button and <code>Navigator.push</code>. In both page...

put dots on the slider in flutter on tap

I want to put dots or anything else on the slider by pressing on it. I want, when I select an area on my slider, select that point and show me . I paint it to understa...

Flutter How to Pop out page automatically according to stream event?

I want to pop out a music player page when the audio stream is stopped. But I am getting error like <pre><code>Unhandled Exception: Looking up a deactivated widget...

Flutter function is getting called everytime state is set

I am making a small game where user need to guess answer using the characters provided on screen in a grid view, I made the grid view that contains characters from ans...

Why the Snackbar is re-shown in the below code when I am clearly setting the condition that should show the Snackbar to false in Flutter?

I have created a custom button widget in flutter called <code>BottomButton</code>. Since I feel that the implementation of the custom widget is not necessary for the q...

How to setState does work in my flutter code?

<a href="https://github.com/kangsudal/performance_tracker/blob/main/lib/main.dart" rel="nofollow noreferrer">https://github.com/kangsudal/performance_tracker/blob/main...