MultiSelectorField constructor

MultiSelectorField({
  1. required String name,
  2. required Model model,
  3. required List<TitleField> titleFields,
  4. required ThirdTable thirdTable,
  5. String? virtualField,
  6. String? id,
  7. bool showInList = false,
  8. bool isRequired = false,
  9. int sort = 0,
  10. FormFieldValidator<Object>? validator,
  11. FieldType type = FieldType.multiSelectorField,
})

Implementation

MultiSelectorField({
  required super.name,
  required this.model,
  required this.titleFields,
  required this.thirdTable,
  String? virtualField,
  String? id,
  super.showInList,
  super.isRequired,
  super.sort,
  super.validator,
  super.type = FieldType.multiSelectorField,
})  : virtualField = virtualField ?? '\$${id ?? toSnakeCase(name)}',

      /// ? MultiSelector Field is not real, because it will not have a real field at the page data
      super(id: id ?? toSnakeCase(name), realField: false);