InputTextWidget constructor

const InputTextWidget({
  1. Key? key,
  2. required String label,
  3. required String formControlName,
  4. Map<String, String Function(Object)>? validationMessages,
  5. bool? isDarker,
  6. int? maxLength,
  7. Icon? prefixIcon,
  8. Widget? suffixIcon,
  9. void onFocusChange(
    1. FocusNode
    )?,
  10. bool? autofocus,
  11. List<TextInputFormatter>? mask,
  12. TextInputType? keyboardType,
  13. bool readOnly = false,
  14. dynamic onTap(
    1. FormControl
    )?,
  15. ControlValueAccessor<dynamic, String>? valueAccessor,
})

Implementation

const InputTextWidget(
    {Key? key,
    required this.label,
    required this.formControlName,
    this.validationMessages,
    this.isDarker,
    this.maxLength,
    this.prefixIcon,
    this.suffixIcon,
    this.onFocusChange,
    this.autofocus,
    this.mask,
    this.keyboardType,
    this.readOnly = false,
    this.onTap,
    this.valueAccessor})
    : super(key: key);