MetaFormService class

Mixed-in types
  • LoggingMixin

Constructors

MetaFormService(MSchemaService schemaService, OptionsService optionService, TypeaheadService optionViewService)

Properties

handlers → List<MetaPropertyHandler>
final
hashCode → int
The hash code for this object.
no setterinherited
log → Logger
no setterinherited
loggerName → String
no setterinherited
optionService → OptionsService
final
optionViewService → TypeaheadService
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addGlobalOverrides(MetadataOverrides overrides) → void
addOverrides(MSchemaRef ref, MetadataOverrides overrides) → void
buildForm(BuildContext context, MSchemaRef ref, {IFormController? controller, MetadataOverrides? overrides, MBaseModel? record, List<MetaPropertyHandler> extraHandlers = const []}) → Widget
override
createContext(BuildContext context, MBaseModel? subject, {MSchemaRef? schemaRef, MetadataOverrides? overrides, IMSchemaDefinition? schema, JsonPath? embedPath, Map<String, dynamic>? scope, List<MetaPropertyHandler> extraHandlers = const []}) → Future<MetaFormContext>
defaultMModelFormBuilder(BuildContext context, MSchemaRef ref, MBaseModel mmodel) → Widget
getOverrides(MSchemaRef schemaRef) → MetadataOverrides
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process(IMSchemaDefinition definition, {JsonPath? basePath, Iterable<IMetaPropertyHandler>? adhocHandlers}) → MetaFormResult
Examines a schema definition, and locates the appropriate handlers for each logical property. The basePath is used in the case where a subform is "flattened" into it's parent, and helps the system recognize and read/store data to the subtree, even though the visual representation is flattened.
processSingle(IMSchemaDefinition definition, {JsonPath? basePath, required JsonPath singlePath, Iterable<MetaPropertyHandler>? adhocHandlers}) → HandledPaths
toString() → String
A string representation of this object.
inherited

Operators

operator +(MetaPropertyHandler handler) → MetaFormService
operator ==(Object other) → bool
The equality operator.
inherited