ScreenField constructor
ScreenField({
- required String name,
- required ScreenContentType screenContentType,
- String? binaryDataFieldId,
- String? id,
- bool showInList = false,
- bool isRequired = false,
- int sort = 0,
- FormFieldValidator<
Object> ? validator, - 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));