Flutter-Sign-in-Button
Flutter-Sign-in-Button copied to clipboard
The argument type 'void Function()?' can't be assigned to the parameter type 'Function'
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