EntryRegistry class

The infolist half of rendering — FieldRegistry (lib/form/field_registry.dart) is the form half. Registering a type here renders it on an infolist screen and tells the server's ComponentTypeMap what name to emit; it says nothing about how that type behaves as a form field, which is FieldRegistry's concern.

Constructors

EntryRegistry.defaults({void onLinkTap(String href)?, void onRelatedTap(String resourceKey, Object recordId)?})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
onLinkTap → void Function(String href)?
Forwarded to every RichEntryTile this registry builds. A host that wants tappable links constructs EntryRegistry.defaults(onLinkTap: ...) and passes it as ResourceViewScreen.registry — the same override point signature_pad uses in the tests, not a new one. Null (the default) means no host has wired it; see RichEntryTile's doc for what that renders.
final
onRelatedTap → void Function(String resourceKey, Object recordId)?
Called with an entry's published target and the related record's id when a targeted entry is tapped — category.name navigating to that category. Same three-way gate as every affordance here: the server published a target, the record carries the id, AND the host wired this. Any half missing renders the plain entry, never one that ripples and silently no-ops.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context, SchemaComponent component, ResourceRecord record) Widget
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(String type, EntryBuilder builder) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited