InputTextFieldWidget constructor
const
InputTextFieldWidget({
- Key? key,
- String? hintText,
- String? labelText,
- bool enabled = true,
- required String keyName,
- TextInputType? textInputType,
- String? initialValue = '',
- bool isEmail = false,
- bool isNumeric = false,
- bool isRequired = true,
- bool isUrl = false,
- int? minLine,
- bool? autoFocus = false,
- Widget? prefixIcon,
- TextStyle? style,
- dynamic onChange()?,
- InputBorder? inputBorder,
- Widget? suffixIcon,
- int? maxLength,
- List<
TextInputFormatter> ? inputFormatters, - int? maxLines,
- Color? fillColor,
- bool isFill = true,
- double? contentPadding = 16,
- BorderSide? borderSide,
- bool? obscureText = false,
- int? minLength,
- FormFieldValidator? validator,
- bool enableInteractiveSelection = true,
Implementation
const InputTextFieldWidget({
Key? key,
this.hintText,
this.labelText,
this.enabled = true,
required this.keyName,
this.textInputType,
this.initialValue = '',
this.isEmail = false,
this.isNumeric = false,
this.isRequired = true,
this.isUrl = false,
this.minLine,
this.autoFocus = false,
this.prefixIcon,
this.style,
this.onChange,
this.inputBorder,
this.suffixIcon,
this.maxLength,
this.inputFormatters,
this.maxLines,
this.fillColor,
this.isFill = true,
this.contentPadding = 16,
this.borderSide,
this.obscureText = false,
this.minLength,
this.validator,
this.enableInteractiveSelection = true,
}) : super(key: key);