ScreenField constructor

ScreenField({
  1. required String name,
  2. required ScreenContentType screenContentType,
  3. String? binaryDataFieldId,
  4. String? id,
  5. bool showInList = false,
  6. bool isRequired = false,
  7. int sort = 0,
  8. FormFieldValidator<Object>? validator,
  9. FieldType type = FieldType.screenField,
})

Implementation

ScreenField({
  required super.name,
  required this.screenContentType,
  this.binaryDataFieldId,
  String? id,
  super.showInList,
  super.isRequired,
  super.sort,
  super.validator,
  super.type = FieldType.screenField,
}) : super(id: id ?? toSnakeCase(name));