signature icon indicating copy to clipboard operation
signature copied to clipboard

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

Open ramseena-12 opened this issue 2 years ago • 0 comments

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.

ramseena-12 avatar Jun 08 '22 08:06 ramseena-12