GTextField constructor

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

Implementation

const GTextField({
  super.key,
  required super.controller,
  required super.labelText,
  super.hintText,
  super.textInputAction,
  super.inputFormatters,
  super.validator,
  super.onChanged,
  super.prefixIcon = Icons.text_fields,
  super.keyboardType = TextInputType.text,
});