FormioComponentState constructor

FormioComponentState({
  1. required FormioComponentSchema schema,
  2. required DataPath dataPath,
  3. required String instanceId,
  4. int pageIndex = 0,
})

Implementation

FormioComponentState({
  required this.schema,
  required this.dataPath,
  required this.instanceId,
  this.pageIndex = 0,
})  : _hidden = schema.hidden,
      _disabled = schema.disabled,
      _required = schema.validate.required,
      _label = schema.label,
      _description = schema.description,
      _tooltip = schema.tooltip;