PressCallback typedef Null safety

PressCallback = dynamic Function(NodeData item)

Implementation

typedef PressCallback = Function(NodeData item);