Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plz update the example with null safety #232

Closed
samithe7 opened this issue Apr 25, 2021 · 1 comment · Fixed by #236
Closed

plz update the example with null safety #232

samithe7 opened this issue Apr 25, 2021 · 1 comment · Fixed by #236
Labels
good first issue This is a good issue for someone who wants their contributor's badge

Comments

@samithe7
Copy link

}The argument type 'Widget? Function(BuildContext, Map<String, List>)' can't be assigned to the parameter type 'Widget? Function(BuildContext?, Map<String, List>)'.

@jackypan1989
Copy link

Handler defaultHandler = Handler(
    handlerFunc: (BuildContext? context, Map<String, List<String>> params) {
  return YourPageComponent();
});

@lukepighetti lukepighetti added the good first issue This is a good issue for someone who wants their contributor's badge label Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue This is a good issue for someone who wants their contributor's badge
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants