onDelete property Null safety

Future<void> Function() onDelete
final

Called when the delete button for the message is pressed.

Implementation

final Future<void> Function() onDelete;