TextFieldPlus constructor
TextFieldPlus({
- bool? enabled,
- bool isCenter = false,
- bool isExpanded = false,
- EdgeInsets? padding,
- EdgeInsets? margin,
- double height = 50,
- double? width,
- RadiusPlus? radius,
- BorderPlus? border,
- List<
ShadowPlus> ? shadows, - GradientPlus? gradient,
- SkeletonPlus? skeleton,
- Alignment? alignment,
- Color? backgroundColor,
- TextEditingController? controller,
- TextInputType? textInputType,
- TextCapitalization textCapitalization = TextCapitalization.none,
- TextAlign textAlign = TextAlign.start,
- String? mask,
- int? maxLength,
- int? maxLines,
- bool autocorrect = false,
- bool autofocus = false,
- bool obscureText = false,
- bool onlyNumbers = false,
- FocusNode? focusNode,
- dynamic onChanged()?,
- bool readOnly = false,
- Color? cursorColor,
- TextAlignVertical textAlignVertical = TextAlignVertical.center,
- Color? textColor,
- double? fontSize,
- FontWeight? fontWeight,
- FontStyle? fontStyle,
- double? letterSpacing,
- double? wordSpacing,
- String? fontFamily,
- TextDecorationPlus? textDecorationPlus,
- TextPlus? placeholder,
- double cursorRadius = 2,
- double cursorWidth = 2,
- bool showCursor = true,
- Widget? prefixWidget,
- Widget? suffixWidget,
- dynamic onTap()?,
- dynamic onEditingComplete()?,
- dynamic onSubmitted()?,
- TextInputAction textInputAction = TextInputAction.done,
Implementation
TextFieldPlus({
this.enabled,
this.isCenter = false,
this.isExpanded = false,
this.padding,
this.margin,
this.height = 50,
this.width,
this.radius,
this.border,
this.shadows,
this.gradient,
this.skeleton,
this.alignment,
this.backgroundColor,
this.controller,
this.textInputType,
this.textCapitalization = TextCapitalization.none,
this.textAlign = TextAlign.start,
this.mask,
this.maxLength,
this.maxLines,
this.autocorrect = false,
this.autofocus = false,
this.obscureText = false,
this.onlyNumbers = false,
this.focusNode,
this.onChanged,
this.readOnly = false,
this.cursorColor,
this.textAlignVertical = TextAlignVertical.center,
this.textColor,
this.fontSize,
this.fontWeight,
this.fontStyle,
this.letterSpacing,
this.wordSpacing,
this.fontFamily,
this.textDecorationPlus,
this.placeholder,
this.cursorRadius = 2,
this.cursorWidth = 2,
this.showCursor = true,
this.prefixWidget,
this.suffixWidget,
this.onTap,
this.onEditingComplete,
this.onSubmitted,
this.textInputAction = TextInputAction.done,
});