Closed gjcarver closed 6 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)
This works: https://github.com/Arokip/fdl_demo_app/tree/null-safety
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)