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

Task_title.dart problem with onLongpress: longpressCallback, #16

Open
MdRubayat opened this issue Jun 12, 2021 · 1 comment
Open

Task_title.dart problem with onLongpress: longpressCallback, #16

MdRubayat opened this issue Jun 12, 2021 · 1 comment

Comments

@MdRubayat
Copy link

### I have this one single problem in the task_title.dart with the onLongPress: longPressCallback, [line 14] where it says that

(error: The argument type 'Function' can't be assigned to the parameter type 'void Function()?'. (argument_type_not_assignable at [todoey_flutter] lib/widgets/task_tile.dart:14)

> please can anyone help me????

74F7DCC2-C141-4A36-B55F-1BBF13006D60_1_105_c

@koishinu
Copy link

koishinu commented Oct 2, 2021

Late reply but you need to put final VoidCallback longPressCallback;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants