Skip to content

The method 'findRootAncestorStateOfType' was called on null. Receiver: null Tried calling: findRootAncestorStateOfType<NavigatorState>() #46

@fabioselau077

Description

@fabioselau077

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions