onEditTap property
Called with the loaded record when the edit affordance is tapped. The
screen owns no edit form of its own — same division as the list
screen's onRecordTap — so a host that never wires this up gets no
edit button at all, never one that renders and silently no-ops on tap.
Implementation
final void Function(ResourceRecord record)? onEditTap;