GFieldConfig constructor

const GFieldConfig({
  1. required TextEditingController controller,
  2. required String labelText,
  3. String hintText = '',
  4. TextInputType keyboardType = TextInputType.text,
  5. TextInputAction textInputAction = TextInputAction.next,
  6. List<TextInputFormatter>? inputFormatters,
  7. String? validator(
    1. String?
    )?,
  8. void onChanged(
    1. String
    )?,
  9. IconData? prefixIcon,
})

Implementation

const GFieldConfig({
  required this.controller,
  required this.labelText,
  this.hintText = '',
  this.keyboardType = TextInputType.text,
  this.textInputAction = TextInputAction.next,
  this.inputFormatters,
  this.validator,
  this.onChanged,
  this.prefixIcon,
});