In Javascript when I provide an onSubmit
function, and I return 'false' from the function, it prevents the page from changing/reloading.
However in Dart the onSubmit.listen(...)
function does not take a return type.
How do I stop the submit from sending the form data and changing/reloading the page?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…