CustomTextFromFieldNew constructor

CustomTextFromFieldNew({
  1. Key? key,
  2. bool isRequired = false,
  3. bool isNumber = false,
  4. bool isPrefixIcon = true,
  5. bool isOutSideTapOn = false,
  6. dynamic maxLength,
  7. String? headerText,
  8. String? initialValue,
  9. double? horizontalContentPadding,
  10. VoidCallback? onPressedCross,
  11. double? verticalContentPadding,
  12. GestureTapCallback? onTap,
  13. EdgeInsetsGeometry? contentPadding,
  14. FloatingLabelBehavior? labelFloatingLabelBehavior,
  15. bool isSuffixIcon = true,
  16. bool readOnly = false,
  17. dynamic clearIcon,
  18. required TextEditingController controller,
  19. TextStyle? hintStyle,
  20. String? labelText,
  21. Widget? label,
  22. bool autofocus = false,
  23. bool? enabled,
  24. bool isPassword = false,
  25. ValueChanged<String>? onChanged,
  26. BorderRadius? borderRadius,
  27. String? hintText,
  28. Widget? prefixIcon,
  29. FormFieldValidator<String>? validator,
  30. EdgeInsetsGeometry? margin,
  31. FocusNode? focusNode,
  32. Color? bgColor,
  33. double? height,
  34. String? IconType,
  35. int maxLines = NumberConst.INDEX_1,
})

Implementation

CustomTextFromFieldNew({
  Key? key,
  this.isRequired = false,
  this.isNumber = false,
  this.isPrefixIcon = true,
  this.isOutSideTapOn = false,
  this.maxLength,
  this.headerText,
  this.initialValue,
  this.horizontalContentPadding,
  this.onPressedCross,
  this.verticalContentPadding,
  this.onTap,
  this.contentPadding,
  this.labelFloatingLabelBehavior,
  this.isSuffixIcon = true,
  this.readOnly = false,
  this.clearIcon,
  required this.controller,
  this.hintStyle,
  this.labelText,
  this.label,
  this.autofocus = false,
  this.enabled,
  this.isPassword = false,
  this.onChanged,
  this.borderRadius,
  this.hintText,
  this.prefixIcon,
  this.validator,
  this.margin,
  this.focusNode,
  this.bgColor,
  this.height,
  this.IconType,
  this.maxLines = NumberConst.INDEX_1,
}) : super(key: key);