FormItemArray<V> constructor

FormItemArray<V>({
  1. required String hint,
  2. required bool validation(
    1. dynamic value
    ),
  3. required List<V>? value,
  4. double? widgetHeight,
  5. FormType type = FormType.text,
  6. bool required = true,
  7. bool editable = true,
  8. bool visible = true,
  9. bool inRow = false,
  10. bool breakRow = false,
  11. bool breakCol = false,
  12. int? maxSelect = -1,
  13. int? maxItems = -1,
  14. double? widgetWidth,
  15. List? options,
  16. ValueStream<List>? optionsStream,
  17. ArrayMapping? arrayMapping,
  18. ObjectMapping? objectMapping,
  19. String kind = '',
  20. List<EditorType> editorTypes = const [EditorType.text],
  21. Widget customBuilder(
    1. BuildContext,
    2. dynamic value,
    3. dynamic onValueChange(
      1. dynamic
      )
    )?,
  22. Widget customArrayBuilder(
    1. dynamic item,
    2. int index,
    3. dynamic onValueChanged(
      1. Map<String, dynamic>
      ),
    4. dynamic onRemoveItem(),
    )?,
  23. Map<String, dynamic> factory()?,
  24. bool hasSelect = true,
  25. bool hasDelete = true,
  26. bool hasColor = false,
  27. bool hasImage = false,
  28. Stream<bool>? visibilityStream,
  29. dynamic onChange(
    1. dynamic
    )?,
  30. Widget suffix(
    1. void (
      1. String
      )
    )?,
  31. WidgetSize? size,
})

Implementation

FormItemArray({
  required super.hint,
  required super.validation,
  required List<V>? super.value,
  this.widgetHeight,
  super.type,
  super.required,
  super.editable,
  super.visible,
  super.inRow,
  super.breakRow,
  super.breakCol,
  super.maxSelect,
  super.maxItems,
  super.widgetWidth,
  super.options,
  super.optionsStream,
  super.arrayMapping,
  super.objectMapping,
  super.kind,
  super.editorTypes,
  super.customBuilder,
  super.customArrayBuilder,
  super.factory,
  super.hasSelect,
  super.hasDelete,
  super.hasColor,
  super.hasImage,
  super.visibilityStream,
  super.onChange,
  super.suffix,
  super.size,
});