signature
signature copied to clipboard
The argument type 'Null' can't be assigned to the parameter type 'Offset'.
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:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- 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.