Arokip / flutter_diagram_editor

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

The argument type 'void Function(ArrowType)' can't be assigned to the parameter type 'void Function(ArrowType?)?'. #47

Closed gjcarver closed 6 months ago

gjcarver commented 10 months ago

error: The argument type 'void Function(ArrowType)' can't be assigned to the parameter type 'void Function(ArrowType?)?'. (argument_type_not_assignable at ... lib\simple_diagram_editor\dialog\edit_link_dialog.dart:245)

gjcarver commented 6 months ago

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