Flutter-Sign-in-Button icon indicating copy to clipboard operation
Flutter-Sign-in-Button copied to clipboard

The argument type 'void Function()?' can't be assigned to the parameter type 'Function'

Open abdullahalamodi opened this issue 2 years ago • 0 comments

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

abdullahalamodi avatar Jul 31 '22 10:07 abdullahalamodi