Closed Jean-Alves closed 4 years ago
Can't you change the loginPressed
function to match the type? The return type of your function is dynamic
not void
@computed
-Function get loginPressed =>
+void Function() get loginPressed =>
emailValid && passwordValid &&! loading? _login: null;
Worked, thank you
I have 1 problem with lint and mobx
in the raisedbutton onprees I put the mobx computer and the following error comes out
code example