BasicInput constructor
const
BasicInput({
- Key? key,
- String? name,
- BasicInputSize? size,
- double? width,
- String? initialValue,
- TextEditingController? controller,
- FocusNode? focusNode,
- TextStyle? textStyle,
- TextAlign textAlign = TextAlign.start,
- TextAlignVertical? textAlignVertical,
- TextInputAction? textInputAction,
- TextInputType? keyboardType,
- int? maxLines,
- int? minLines,
- int? maxLength,
- bool enabled = true,
- bool obscureText = false,
- Color? cursorColor,
- AutovalidateMode? autoValidateMode,
- FormFieldValidator<
String> ? validator, - List<
TextInputFormatter> ? inputFormatters, - ValueTransformer<
String?> ? valueTransformer, - ValueChanged<
String?> ? onChanged, - GestureTapCallback? onTap,
- VoidCallback? onEditingComplete,
- FormFieldSetter? onSaved,
- bool? isDense,
- bool? filled,
- Widget? prefixIcon,
- Widget? suffixIcon,
- EdgeInsets? contentPadding,
- InputBorder? focusedBorder,
- InputBorder? enabledBorder,
- InputBorder? disabledBorder,
- InputBorder? errorBorder,
- InputBorder? focusedErrorBorder,
- Color? fillColor,
- Color? hoverColor,
- String? labelText,
- TextStyle? labelStyle,
- TextStyle? floatingLabelStyle,
- FloatingLabelBehavior? floatingLabelBehavior,
- String? hintText,
- TextStyle? hintStyle,
- String? errorText,
- int? errorMaxLines,
- TextStyle? errorStyle,
Implementation
const BasicInput({
Key? key,
this.name,
this.size,
this.width,
this.initialValue,
this.controller,
this.focusNode,
this.textStyle,
this.textAlign = TextAlign.start,
this.textAlignVertical,
this.textInputAction,
this.keyboardType,
this.maxLines,
this.minLines,
this.maxLength,
this.enabled = true,
this.obscureText = false,
this.cursorColor,
this.autoValidateMode,
this.validator,
this.inputFormatters,
this.valueTransformer,
this.onChanged,
this.onTap,
this.onEditingComplete,
this.onSaved,
this.isDense,
this.filled,
this.prefixIcon,
this.suffixIcon,
this.contentPadding,
this.focusedBorder,
this.enabledBorder,
this.disabledBorder,
this.errorBorder,
this.focusedErrorBorder,
this.fillColor,
this.hoverColor,
this.labelText,
this.labelStyle,
this.floatingLabelStyle,
this.floatingLabelBehavior,
this.hintText,
this.hintStyle,
this.errorText,
this.errorMaxLines,
this.errorStyle,
}) : super(key: key);