You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the origin type of onPress function is void Function()? because the button doesn't receive any value nor return.
and causes The argument type 'void Function()?' can't be assigned to the parameter type 'Function'
compile time error