MetaFormService constructor

MetaFormService(
  1. MSchemaService schemaService,
  2. OptionsService optionService,
  3. TypeaheadService optionViewService
)

Implementation

MetaFormService(
  MSchemaService schemaService,
  //    ContactMKeyOptionsHandler handler,
  this.optionService,
  this.optionViewService,
) : _globalOverrides = MetadataOverrides(
        labels: {contactKey: "Contact", contactKeys: "Contacts"},
        placeholders: {
          contactKey: "Choose a contact...",
          contactKeys: "Choose contacts"
        },
      ) {
  _metaFormService = this;
  handlers.add(PhoneWithExtensionPropertyHandler());
  handlers.add(DurationPropertyHandler());
  // handlers.add(ContactLinkOptionHandler(handler));
  handlers.add(ImageUploadPropertyHandler());
  handlers.add(ImageGalleryPropertyHandler());
  handlers.add(VideoGalleryPropertyHandler());
  handlers.add(MverseLinkOptionHandler());
  handlers.add(MverseEmbedOptionHandler());
  handlers.add(LocationPropertyHandler(schemaService));
  handlers.add(RangePropertyHandler());
  // handlers.add(ReachOutTypePropertyHandler());
  handlers.add(CollapsingEmbedPropertyHandler({}));
  handlers.add(DefaultPropertyHandler(optionService, optionViewService));
}