InputText constructor
const
InputText(- {Key? key,
- bool? autoCorrect = true,
- required TextEditingController textEditingController,
- String? hintText,
- String? labelText,
- bool? enabled = true,
- bool? enableSuggestions = true,
- required TextInputType textInputType,
- bool? obscureText = false,
- VoidCallback? onTap,
- TextCapitalization? textCapitalization = TextCapitalization.none,
- required TextInputAction textInputAction,
- String? validator(
- String? value
)?,
- bool? expands = false,
- bool visiblePassword = true,
- String? helperText,
- void onChanged(
- String
)?,
- Color? textColor,
- List<TextInputFormatter>? inputFormatters,
- FontWeight? fontWeight,
- bool whiteBorder = false,
- bool readOnly = false,
- int minLines = 1,
- int maxLines = 1,
- String? iconPath,
- bool enableInteractiveSelection = true}
)
Implementation
const InputText({
Key? key,
this.autoCorrect = true,
required this.textEditingController,
this.hintText,
this.labelText,
this.enabled = true,
this.enableSuggestions = true,
required this.textInputType,
this.obscureText = false,
this.onTap,
this.textCapitalization = TextCapitalization.none,
required this.textInputAction,
this.validator,
this.expands = false,
this.visiblePassword = true,
this.helperText,
this.onChanged,
this.textColor,
this.inputFormatters,
this.fontWeight,
this.whiteBorder = false,
this.readOnly = false,
this.minLines = 1,
this.maxLines = 1,
this.iconPath,
this.enableInteractiveSelection = true,
}) : super(key: key);