BasicInput constructor

const BasicInput({
  1. Key? key,
  2. String? name,
  3. BasicInputSize? size,
  4. double? width,
  5. String? initialValue,
  6. TextEditingController? controller,
  7. FocusNode? focusNode,
  8. TextStyle? textStyle,
  9. TextAlign textAlign = TextAlign.start,
  10. TextAlignVertical? textAlignVertical,
  11. TextInputAction? textInputAction,
  12. TextInputType? keyboardType,
  13. int? maxLines,
  14. int? minLines,
  15. int? maxLength,
  16. bool enabled = true,
  17. bool obscureText = false,
  18. Color? cursorColor,
  19. AutovalidateMode? autoValidateMode,
  20. FormFieldValidator<String>? validator,
  21. List<TextInputFormatter>? inputFormatters,
  22. ValueTransformer<String?>? valueTransformer,
  23. ValueChanged<String?>? onChanged,
  24. GestureTapCallback? onTap,
  25. VoidCallback? onEditingComplete,
  26. FormFieldSetter? onSaved,
  27. bool? isDense,
  28. bool? filled,
  29. Widget? prefixIcon,
  30. Widget? suffixIcon,
  31. EdgeInsets? contentPadding,
  32. InputBorder? focusedBorder,
  33. InputBorder? enabledBorder,
  34. InputBorder? disabledBorder,
  35. InputBorder? errorBorder,
  36. InputBorder? focusedErrorBorder,
  37. Color? fillColor,
  38. Color? hoverColor,
  39. String? labelText,
  40. TextStyle? labelStyle,
  41. TextStyle? floatingLabelStyle,
  42. FloatingLabelBehavior? floatingLabelBehavior,
  43. String? hintText,
  44. TextStyle? hintStyle,
  45. String? errorText,
  46. int? errorMaxLines,
  47. TextStyle? errorStyle,
})

Implementation

const BasicInput({
  Key? key,
  this.name,
  this.size,
  this.width,
  this.initialValue,
  this.controller,
  this.focusNode,
  this.textStyle,
  this.textAlign = TextAlign.start,
  this.textAlignVertical,
  this.textInputAction,
  this.keyboardType,
  this.maxLines,
  this.minLines,
  this.maxLength,
  this.enabled = true,
  this.obscureText = false,
  this.cursorColor,
  this.autoValidateMode,
  this.validator,
  this.inputFormatters,
  this.valueTransformer,
  this.onChanged,
  this.onTap,
  this.onEditingComplete,
  this.onSaved,
  this.isDense,
  this.filled,
  this.prefixIcon,
  this.suffixIcon,
  this.contentPadding,
  this.focusedBorder,
  this.enabledBorder,
  this.disabledBorder,
  this.errorBorder,
  this.focusedErrorBorder,
  this.fillColor,
  this.hoverColor,
  this.labelText,
  this.labelStyle,
  this.floatingLabelStyle,
  this.floatingLabelBehavior,
  this.hintText,
  this.hintStyle,
  this.errorText,
  this.errorMaxLines,
  this.errorStyle,
}) : super(key: key);