StructureField constructor

StructureField({
  1. required String name,
  2. String? id,
  3. bool showInList = false,
  4. bool isRequired = false,
  5. int sort = 0,
  6. FormFieldValidator<Object>? validator,
  7. String? contentIcon,
  8. Color? contentColor,
  9. FieldType type = FieldType.structureField,
})

Implementation

StructureField({
  required super.name,
  String? id,
  super.showInList,
  super.isRequired,
  super.sort,
  super.validator,
  super.contentIcon,
  super.contentColor,
  super.type = FieldType.structureField,
}) : super(id: id ?? toSnakeCase(name));