meta/meta library

Classes

EmbeddedPropertyBuilder
EntityListPropertyBuilder
EntitySchemas
Convenient way to build entity schemas on the client. Typically, entity schemas come from the mverse server, but sometimes you want to build a metaform because it's easier than building a form manually.
HandledPaths
A list of json paths - sometimes rendering will handle more than one property at a time
MetaForm
Renders a form for a IMSchemaDefinition (based on ref)
MetaFormContext
Tracks metadata that helps render meta forms. Things like labels, placeholders, types, options, ignored fields, etc.
MetaFormControl<M>
MetaFormFieldContext
MetaFormResult
Results of processing a schema definition for rendering
MetaFormSection
MetaFormService
MetaFormState
MetaPropertyHandler<T>
Inspects a schema and looks for specialized properties for which we want to build a special UI or component. Some fields might be grouped together, for example T The type of data this handler should encounter.
MPropertyBuilder
MSchemaPropertyBuilder
RefPropertyBuilder
SelectOptionConfig<K, V>
StringSelectPropertyBuilder
TextAreaConfig
Configuration for text areas
TextConfig
Configuration for text areas

Constants

contactKey → const JsonPath
contactKeys → const JsonPath

Properties

globalLabels Map<JsonPath, String>
final
metaFormService MetaFormService
getter/setter pair
textFieldDefinitionOverrides Map<Definition, TextConfig>
Overrides for meta date properties
final
textFieldOverridesByUri Map<String, TextConfig>
final

Functions

saveFactCallback(MSchemaRef? ref) SubmitHook<IFact?>

Typedefs

MetaFormBuilderFn = Widget Function(BuildContext context, MetaFormState state)
PropertyBuilder = void Function(MSchemaPropertyBuilder prop)
SubmitHook<T> = FutureOr<Result<T>> Function(BuildContext context, FormController form, FormSubmitResultBuilder submitResult)