Skip to content

type '(HomeViewModel) => dynamic' is not a subtype of type '((HomeViewModel?) => dynamic)?' #5

@a43501

Description

@a43501

I try to migrate to null safety. Only one error from stacked: ^2.0.0-nullsafety.2.

type '(HomeViewModel) => dynamic' is not a subtype of type '((HomeViewModel?) => dynamic)?'
The relevant error-causing widget was
Home
lib/main.dart:

Any suggestions please?

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