Category "statefulwidget"

Get the value of an integer from a stateful widget from another class in flutter

Learning Flutter and I am building a counter that I would like to use for a cart. I have a problem retrieving the integer value of the counter stateful widget I

This is the case for List in my StatefulWidget

Flutter import 'package:country_house/pages/Country.dart'; import 'package:dio/dio.dart'; import 'package:flutter/material.dart'; class AllCountries extends St

use getx in flutter datatable's datasource instead of stateful widget

I tried to change rowCount dynamically using Getx in flutter's Datatable DataSource, but it didn't change when I surrounded it with obx. If I check with ever ()

Variable scope within the Flutter StatefulWidget

I'm trying to access the moviesList inside the build() and results as follows. What is the real issue? flutter: ══╡ EXCEPTION CAUGHT BY WIDGET