nabil6391 / graphview

Flutter GraphView is used to display data in graph structures. It can display Tree layout, Directed and Layered graph. Useful for Family Tree, Hierarchy View.
MIT License
420 stars 114 forks source link

Type conversion error in lib/Graph.dart #60

Closed MehulDokania closed 2 years ago

MehulDokania commented 2 years ago

Hello. I tried using this package on flutter 2.2.3. I am getting this error "A value of type 'dynamic' can't be returned from the function 'hashCode' because it has a return type of 'int'.dart(return_of_invalid_type)" on line 210 of lib/Graph.dart. @override int?? get hashCode => key?.hashCode ?? Object.hash(source, destination); Not sure how to fix this. Thanks for all the work for creating this package on flutter, exactly what I was looking for!

nabil6391 commented 2 years ago

You might have to update flutter version.