IconField constructor

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

Implementation

IconField({
  required super.name,
  String? id,
  super.showInList,
  super.isRequired,
  super.sort,
  super.validator,
  super.type = FieldType.iconField,
}) : super(id: id ?? toSnakeCase(name));