StringField constructor

StringField({
  1. required String name,
  2. String? id,
  3. bool showInList = false,
  4. bool isRequired = false,
  5. int sort = 0,
  6. FormFieldValidator<Object>? validator,
  7. int? maxLines,
  8. FieldType type = FieldType.stringField,
})

Implementation

StringField({
  required super.name,
  String? id,
  super.showInList,
  super.isRequired,
  super.sort,
  super.validator,
  this.maxLines,
  super.type = FieldType.stringField,
}) : super(id: id ?? toSnakeCase(name));