Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

The argument type 'Null' can't be assigned to the parameter type 'Offset'. #11

Open
ramseena-12 opened this issue Jun 8, 2022 · 0 comments

Comments

@ramseena-12
Copy link

Describe the bug
onPanEnd: (DragEndDetails details) {
setState(() {
_points.add(null);
});
},

in this -point.add(null); is giving the error the argument type null can't be assigned to the parameter type 'offset'

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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

No branches or pull requests

1 participant