MetaFormService class
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