DeskFieldInputRegistry class

Registry of field types to their corresponding input widgets. Uses switch-case pattern for default field types with optional custom registry.

Constructors

DeskFieldInputRegistry()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getBuilder(DeskField field) FieldInputBuilder?
Get the input builder for a given field type using switch-case for defaults. Returns null if no builder is available for the type.
hasBuilder(DeskField field) bool
Check if a builder is available for a given field type.
register<T extends DeskField>(FieldInputBuilder builder) → void
Register a custom field input builder for a specific field type. This allows extending the form system with custom field types.