displayLabel property
Short label for the plain-text renderer; each variant picks the most useful field (button label, text content, etc.).
Implementation
@override
String get displayLabel => [
source ?? 'image',
if (state != null) '($state)',
if (isBackground) '(background)',
].join(' ');