enter image description hereenter image description here
1: I want to use check box but facing this error again and again.. I'm new in flutter what do I do now. https://i.stack.imgur.com/m9PdK.jpg
enter image description hereenter image description here
1: I want to use check box but facing this error again and again.. I'm new in flutter what do I do now. https://i.stack.imgur.com/m9PdK.jpg
Copyright © 2021 Jogjafile Inc.
It seems that to believe the error message that is showing you have mutliple causes:
First the "error getter 'sortFilter' isn't defined means that you either didn't pass the argument or that simply the sortFilter isn't defined in your widget meaning that when you do widget.sortFilter, here sortFilter will be undefined.
Secondly, it appear that for the last error message selectedValue is just not initialized, you certainly put before, the keyword late to that variable and didn't put a value afterward. So try by default giving him true or false and at least you should have this solved.
Anyways, if those solution doesn't not work, please give a better overview or your code especially the widget CarInfoScreen.