DialogField constructor

const DialogField({
  1. required String key,
  2. required String label,
  3. String? hint,
  4. String initialValue = '',
  5. DialogFieldType type = DialogFieldType.text,
  6. List<String> options = const [],
  7. int maxLines = 1,
  8. bool required = false,
})

Implementation

const DialogField({
  required this.key,
  required this.label,
  this.hint,
  this.initialValue = '',
  this.type = DialogFieldType.text,
  this.options = const [],
  this.maxLines = 1,
  this.required = false,
});