CustomTextFromFieldNew constructor
CustomTextFromFieldNew({
- Key? key,
- bool isRequired = false,
- bool isNumber = false,
- bool isPrefixIcon = true,
- bool isOutSideTapOn = false,
- dynamic maxLength,
- String? headerText,
- String? initialValue,
- double? horizontalContentPadding,
- VoidCallback? onPressedCross,
- double? verticalContentPadding,
- GestureTapCallback? onTap,
- EdgeInsetsGeometry? contentPadding,
- FloatingLabelBehavior? labelFloatingLabelBehavior,
- bool isSuffixIcon = true,
- bool readOnly = false,
- dynamic clearIcon,
- required TextEditingController controller,
- TextStyle? hintStyle,
- String? labelText,
- Widget? label,
- bool autofocus = false,
- bool? enabled,
- bool isPassword = false,
- ValueChanged<
String> ? onChanged, - BorderRadius? borderRadius,
- String? hintText,
- Widget? prefixIcon,
- FormFieldValidator<
String> ? validator, - EdgeInsetsGeometry? margin,
- FocusNode? focusNode,
- Color? bgColor,
- double? height,
- String? IconType,
- 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);