The method 'findRootAncestorStateOfType' was called on null. Receiver: null Tried calling: findRootAncestorStateOfType<NavigatorState>()
fabioselau077 opened this issue · 1 comments
fabioselau077 commented
onTap in GestureDetector return this error:
The method 'findRootAncestorStateOfType' was called on null.
Receiver: null
Tried calling: findRootAncestorStateOfType()
How to resolve? I'm using example code YYAlertDialogWithGravity.
fabioselau077 commented
I forget "YYDialog.init(context);".
Thanks for package, amazing work.