DefaultTextField constructor
const
DefaultTextField({
- Key? key,
- bool? isBank,
- String? hint,
- String? label,
- String? errorMessage,
- String? obscuringCharacter = '●',
- bool? enabled = true,
- dynamic onTap()?,
- TextInputAction? action,
- TextInputType? keyboardType,
- int? maxLines = 1,
- int? minLines = 1,
- bool? isQty = false,
- EdgeInsets? padding,
- @required TextEditingController? controller,
- EdgeInsets? margin = const EdgeInsets.all(0),
- bool? obscureText,
- TextInputType? textInputType = TextInputType.text,
- TextInputAction? textInputAction = TextInputAction.done,
- dynamic onFieldSubmitted()?,
- dynamic onChanged()?,
- Widget? suffix,
- String? assets,
- FocusNode? node,
- BorderRadius? borderRadius,
- Border? border,
- Color? colorsText,
- bool? enableTextView,
- String? condition,
- Color? colorHint,
- bool? isPassword,
- String? suffixIcon,
- Icons? suffixIcons,
- String? customSuffixIcon,
- bool? isSearch,
- bool? isMessage,
- bool? isEdit,
- bool? counterText,
- int? maxLenght = 3,
- Color? focusedBorderColor,
- TextAlign? textAlign,
- dynamic onEditingFinished()?,
- bool? isCurrency,
- bool? isWeight,
- Color? colorBackground,
- bool? autoFocus,
- dynamic onTapSuffix()?,
- bool? isEnableBorder,
- bool? isHideHint,
- TextStyle? hintStyle,
- TextStyle? labelStyle,
- Color? cursorColor,
- Color? titleColorActive,
- double? sizeFont,
- bool? onlyProfileBand,
- @required FocusNode? focusNode,
Implementation
const DefaultTextField(
{Key? key,
this.isBank,
this.hint,
this.label,
this.errorMessage,
this.obscuringCharacter = '●',
this.enabled = true,
this.onTap,
this.action,
this.keyboardType,
this.maxLines = 1,
this.minLines = 1,
this.isQty = false,
this.padding,
@required this.controller,
this.margin = const EdgeInsets.all(0),
this.obscureText,
this.textInputType = TextInputType.text,
this.textInputAction = TextInputAction.done,
this.onFieldSubmitted,
this.onChanged,
// this.onChange,
this.suffix,
this.assets,
this.node,
this.borderRadius,
this.border,
this.colorsText,
this.enableTextView,
this.condition,
this.colorHint,
this.isPassword,
this.suffixIcon,
this.suffixIcons,
this.customSuffixIcon,
this.isSearch,
this.isMessage,
this.isEdit,
this.counterText,
this.maxLenght = 3,
this.focusedBorderColor,
this.textAlign,
this.onEditingFinished,
this.isCurrency,
this.isWeight,
this.colorBackground,
this.autoFocus,
this.onTapSuffix,
this.isEnableBorder,
this.isHideHint,
this.hintStyle,
this.labelStyle,
this.cursorColor,
this.titleColorActive,
this.sizeFont,
this.onlyProfileBand,
@required this.focusNode})
: super(key: key);