ComponentModel constructor

ComponentModel({
  1. required String type,
  2. required String key,
  3. required String label,
  4. bool hideLabel = false,
  5. String? placeholder,
  6. required bool required,
  7. bool disabled = false,
  8. String? description,
  9. String? prefix,
  10. String? suffix,
  11. dynamic defaultValue,
  12. required Map<String, dynamic> raw,
})

Implementation

ComponentModel({
  required this.type,
  required this.key,
  required this.label,
  this.hideLabel = false,
  this.placeholder,
  required this.required,
  this.disabled = false,
  this.description,
  this.prefix,
  this.suffix,
  this.defaultValue,
  required this.raw,
});