FieldConfig constructor

FieldConfig({
  1. required String key,
  2. required String type,
  3. String? label,
  4. bool required = false,
  5. Map<String, dynamic> extra = const {},
})

Creates a FieldConfig instance.

Implementation

FieldConfig({
  required this.key,
  required this.type,
  this.label,
  this.required = false,
  this.extra = const {},
});