InputField constructor

const InputField({
  1. Key? key,
  2. TextEditingController? controller,
  3. ValueChanged<String>? onChanged,
  4. String? hintText,
  5. String? innerLabelText,
  6. Color? borderColor,
  7. double? elevation,
  8. IconData? prefixIcon,
  9. IconData? suffixIcon,
  10. String? labelText,
  11. double? labelFieldSpace,
  12. bool? isMultiline,
  13. TextInputType? inputType,
  14. VoidCallback? onTap,
  15. void onTapOutside(
    1. PointerDownEvent pointerDownEvent
    )?,
  16. bool? readOnly,
  17. bool? isObscure,
  18. int? maxLines,
  19. int? minLines,
  20. EdgeInsets? contentPadding,
  21. InputDecoration? inputDecoration,
  22. Color? fillColor,
  23. TextStyle? allTextStyle,
  24. TextStyle? textStyle,
  25. TextStyle? hintStyle,
  26. TextStyle? innerLabelStyle,
  27. TextStyle? labelStyle,
  28. bool? labelIsBold,
  29. InputDecorationBuilder? inputDecorationBuilder,
  30. BorderRadius? borderRadius,
  31. FocusNode? focusNode,
  32. TextDirection? textDirection,
  33. FormFieldValidator<String>? validator,
  34. List<TextInputFormatter>? inputFormatters,
})

Implementation

const InputField({
  Key? key,
  this.controller,
  this.onChanged,
  this.hintText,
  this.innerLabelText,
  this.borderColor,
  this.elevation,
  this.prefixIcon,
  this.suffixIcon,
  this.labelText,
  this.labelFieldSpace,
  this.isMultiline,
  this.inputType,
  this.onTap,
  this.onTapOutside,
  this.readOnly,
  this.isObscure,
  this.maxLines,
  this.minLines,
  this.contentPadding,
  this.inputDecoration,
  this.fillColor,
  this.allTextStyle,
  this.textStyle,
  this.hintStyle,
  this.innerLabelStyle,
  this.labelStyle,
  this.labelIsBold,
  this.inputDecorationBuilder,
  this.borderRadius,
  this.focusNode,
  this.textDirection,
  this.validator,
  this.inputFormatters,
}) : super(key: key);