Flutter / Dart Error: The argument type 'Null Function(Key)' can't be assigned to the parameter type 'void Function(Object)' Flutter / Dart Error: The argument type 'Null Function(Key)' can't be assigned to the parameter type 'void Function(Object)' dart dart

Flutter / Dart Error: The argument type 'Null Function(Key)' can't be assigned to the parameter type 'void Function(Object)'


Answered by Simon Binder via dart-lang/TALK-general:

This is an error in the reorderables package, which you probably depend on. A report and workaround is here: hanshengchiu/reorderables#52

Change in pubspec.yaml:

#  reorderables: ^0.2.12  reorderables:    git:      url: git://github.com/hanshengchiu/reorderables.git