How to update only one widget in a ListView in Flutter when its data changes?
class ListNumbersPage extends GetView<MyController> { final colors = [ Colors.red, Colors.green, Colors.pinkAccent, Colors.blue, Colors.grey, Colors.cyan, ]; final random = Random(); @override Widget build(BuildContext context) { Get.put(MyController()); return Scaffold( appBar: AppBar(title: const Text(‘ListNumbersPage’)), body: Column( children: [ Expanded( child: ListView.builder( itemCount: controller.listOfFiles.length, itemBuilder: (_, index) { final currentFile = controller.listOfFiles[index]; return Container( padding: const EdgeInsets.symmetric(vertical: 32), […]