CustomTextInputField constructor

CustomTextInputField({
  1. String? label,
  2. String? hint,
  3. FormFieldValidator<String>? onChanged,
  4. String? error,
  5. bool? isEnable = true,
  6. TextEditingController? controller,
  7. bool? readonly = false,
  8. VoidCallback? onTap,
  9. IconData? icon,
  10. TextInputType textInputType = TextInputType.text,
  11. int? maxLenght = 10,
})

Implementation

CustomTextInputField(
    {this.label,
    this.hint,
    this.onChanged,
    this.error,
    this.isEnable = true,
    this.controller,
    this.readonly = false,
    this.onTap,
    this.icon,
    this.textInputType = TextInputType.text,
    this.maxLenght = 10});