List.add not adding element to a boolean list in flutter
I have two Lists, imageFileList and values // contains a list of image files which are captured from the camera page List<File> imageFileList = widget.imageFileList; // Values list is filled with boolean values which are defaulted to false and contains…