BaseEmbedPropertyHandler class abstract

Used to render embedded schemas. Extending classes pass in embedRef, and this class automatically identifies the correct properties.

Inheritance
Implementers

Constructors

BaseEmbedPropertyHandler(IMSchemaService _, MSchemaRef embedRef)

Properties

embedRef → MSchemaRef
final
embedSchema ↔ IMSchemaDefinition?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acceptProperties(JsonPath? basePath, IMSchemaDefinition definition, Map<JsonPath, IMSchemaProperty> available) List<HandledPaths>
Examines a form, and returns a list of properties that this handler is capable of dealing with, grouped together in HandledPaths. Each of these field clusters will be passed back to the handler during rendering
override
castState<X>(SunnyFormFieldState state) SunnyFormFieldState
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderProperty(BuildContext context, IMetaFormContext metaForm, HandledPaths paths, SunnyFormFieldState state, {Key? key}) Iterable<Widget>
Renders a widget (or null) for a provided HandledPaths (see acceptProperties)
inherited
toString() String
A string representation of this object.
inherited

Operators

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