Arokip / flutter_diagram_editor

Fllutter diagram editor library
MIT License
116 stars 38 forks source link

The argument type 'bool Function(ComponentData)' can't be assigned to the parameter type 'bool Function(ComponentData?)? #45

Closed gjcarver closed 6 months ago

gjcarver commented 10 months ago

error: The argument type 'bool Function(ComponentData)' can't be assigned to the parameter type 'bool Function(ComponentData?)?'. (argument_type_not_assignable at ... lib\simple_diagram_editor\policy\canvas_widgets_policy.dart:28)

gjcarver commented 6 months ago

This works: https://github.com/Arokip/fdl_demo_app/tree/null-safety