canDeleteImage property
Per-item delete gate. When null, no delete button is rendered. When
supplied, a delete button appears only on items for which this returns
true. Use GridImagePicker.alwaysAllowDelete to enable for all items.
Implementation
final bool Function(dynamic item)? canDeleteImage;