We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there,
There is an error when you are adding variables in the classes horizontal_menu_item, and menu_item. The variable defined is "final Function onTap"
In the InkWell(), there is an error on the parameter onTap : onTap.
The defined error is: "argument type 'Function' can't be assigned to the parameter type 'void Function()?'."
The solution is changing the type of the variable from "final Function onTap" to "final VoidCallback() onTap"
Thank you for everything so far, really appreciated!!
The text was updated successfully, but these errors were encountered:
Yes you can achieve that by doing void function()?
Sorry, something went wrong.
It should be final Function() onTap
final Function() onTap
No branches or pull requests
Hi there,
There is an error when you are adding variables in the classes horizontal_menu_item, and menu_item. The variable defined is "final Function onTap"
In the InkWell(), there is an error on the parameter onTap : onTap.
The defined error is: "argument type 'Function' can't be assigned to the parameter type 'void Function()?'."
The solution is changing the type of the variable from "final Function onTap" to "final VoidCallback() onTap"
Thank you for everything so far, really appreciated!!
The text was updated successfully, but these errors were encountered: