Skip to content

Using BlocProvider with stateful widget throws following error , how should I use it with Statefule widget? Or is there any alternate solution? #1

@dharmitaepaisa

Description

@dharmitaepaisa

I/flutter (10824): The following NoSuchMethodError was thrown building Provider:
I/flutter (10824): The method 'inheritFromWidgetOfExactType' was called on null.
I/flutter (10824): Receiver: null
I/flutter (10824): Tried calling: inheritFromWidgetOfExactType(Provider)
I/flutter (10824):
I/flutter (10824): When the exception was thrown, this was the stack:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions