This function has a return type of 'int', but doesn't end with a return statement flutter
in my function there is a warning about the return (This function has a return type of 'int', but doesn't end with a return statement. ) but I dont know what is the problem . any idea? int checkValueIndex() {…