The method 'cancel' was called on null.
Closed this issue · 0 comments
xni06 commented
Upon initial launch, and failing to grant location permissions, when navigating back, a NoSuchMethodError
is thrown as a result of trying to close a stream that does not yet exist.
I/flutter ( 8256): The following NoSuchMethodError was thrown while finalizing the widget tree:
I/flutter ( 8256): The method 'cancel' was called on null.
I/flutter ( 8256): Receiver: null
I/flutter ( 8256): Tried calling: cancel()