how to call setState inside FutureBuilder<List<dynamic>>in flutter
I am trying to call setState inside a ListView.builder which itself is inside a FutureBuilder FutureBuilder<List<dynamic>>( future: BidRepository().bidsTrucker('new'), builder: (context, snapshot) { if (!snapshot.hasData) { return const Center(child: CircularProgressIndicator()); } final trips = snapshot.data!; return ListView.builder( itemCount: trips.length, itemBuilder: ((context,…