FormInputView constructor
const
FormInputView({
- Key? key,
- String? hint,
- TextEditingController? controller,
- EdgeInsets? margin,
- String? textTitleInput,
- String? textSuggestion,
- FormFieldValidator<
String> ? validator, - Function? onTap,
- dynamic onEditingComplete()?,
- TextInputAction? textInputAction,
- ValueChanged<
String> ? onChanged, - TextStyle? textStyle,
- TextStyle? sugesStyle,
- Widget? prefix,
- TextInputType? keyboardType,
- InputBorder? focusBorder,
- InputBorder? disabledBorder,
- EdgeInsets? contentPadding,
- InputBorder? enabledBorder,
- Widget? prefixIcon,
- bool isPw = false,
- bool enable = true,
- TextStyle? hintStyle,
- Widget? suffixIcon,
- int? maxLength = TextField.noMaxLength,
- int? maxLines = 1,
- String? counterText = "",
- List<
TextInputFormatter> ? inputFormatter, - bool? obscureText,
- TextStyle? errorStyle,
- bool requireTitle = false,
- bool filled = true,
- bool autofocus = false,
- bool leftBorder = false,
- bool showMaxLength = false,
- Color? fillColor = Colors.white,
- int? type = 1,
Implementation
const FormInputView({
Key? key,
this.hint,
this.controller,
this.margin,
this.textTitleInput,
this.textSuggestion,
this.validator,
this.onTap,
this.onEditingComplete,
this.textInputAction,
this.onChanged,
this.textStyle,
this.sugesStyle,
this.prefix,
this.keyboardType,
this.focusBorder,
this.disabledBorder,
this.contentPadding,
this.enabledBorder,
this.prefixIcon,
this.isPw = false,
this.enable = true,
this.hintStyle,
this.suffixIcon,
this.maxLength = TextField.noMaxLength,
this.maxLines = 1,
this.counterText = "",
this.inputFormatter,
this.obscureText,
this.errorStyle,
this.requireTitle = false,
this.filled = true,
this.autofocus = false,
this.leftBorder = false,
this.showMaxLength = false,
this.fillColor = Colors.white,
this.type = 1,
}) : super(key: key);