LabeledTextField constructor

const LabeledTextField({
  1. Key? key,
  2. required String label,
  3. TextEditingController? controller,
  4. String? hint,
  5. bool required = false,
  6. String? validator(
    1. String?
    )?,
  7. ValueChanged<String>? onChanged,
  8. TextInputType? keyboardType,
  9. bool readOnly = false,
  10. int? maxLines = 1,
  11. Widget? suffix,
})

Implementation

const LabeledTextField({
  super.key,
  required this.label,
  this.controller,
  this.hint,
  this.required = false,
  this.validator,
  this.onChanged,
  this.keyboardType,
  this.readOnly = false,
  this.maxLines = 1,
  this.suffix,
});