InputText class

The InputText widget (HTML's input tag with type = 'button').

Inheritance

Constructors

InputText({String? autoComplete, String? dirName, String? list, int? maxLength, int? minLength, String? pattern, String? placeholder, bool? readOnly, bool? required, String? size, String? name, bool? disabled, String? form, String? inputMode, int? tabIndex, String? value, Key? key, NullableElementCallback? ref, String? id, String? title, String? style, String? className, bool? hidden, String? innerText, Widget? child, List<Widget>? children, EventCallback? onClick, EventCallback? onInput, EventCallback? onChange, EventCallback? onKeyUp, EventCallback? onKeyDown, EventCallback? onKeyPress, Map<String, String>? additionalAttributes})
const

Properties

accept String?
The accept attribute defines which file types are selectable in a file upload control.
finalinherited
additionalAttributes Map<String, String>?
Any additional attributes.
finalinherited
alt String?
The alt attribute provides alternative text for the image.
finalinherited
autoComplete String?
The autocomplete attribute takes as its value a space-separated string that describes what, if any, type of autocomplete functionality the input should provide.
finalinherited
capture String?
The capture attribute defines which media—microphone, video, or camera — should be used to capture a new file for upload with file upload control in supporting scenarios.
finalinherited
checked bool?
If present on a radio type, it indicates that the radio button is the currently selected one in the group of same-named radio buttons. If present on a checkbox type, it indicates that the checkbox is checked by default (when the page loads).
finalinherited
child Widget?
Child widget.
finalinherited
children List<Widget>?
Multiple child widgets.
finalinherited
className String?
The classes attribute specifies one or more class names for an dom node.
finalinherited
correspondingTag DomTagType?
Corresponding HTML tag to use to render this widget
no setterinherited
dirName String?
The dirname attribute enables the submission of the directionality of the element.
finalinherited
disabled bool?
Disabled inputs are typically rendered with a dimmer color or using some other form of indication that the field is not available for use.
finalinherited
form String?
The form element to associate the button with (its form owner). The value of this attribute must be the id of a form in the same document. (If this attribute is not set, the button is associated with its ancestor form element, if any.).
finalinherited
formAction String?
The URL that processes the information submitted by the button. Overrides the action attribute of the button's form owner. Does nothing if there is no form owner.
finalinherited
formEncType FormEncType?
If the button is a submit button (it's inside/associated with a form and doesn't have type="button").
finalinherited
formMethod FormMethodType?
If the button is a submit button (it's inside/associated with a form and doesn't have type="button"), this attribute specifies the HTTP method used to submit the form.
finalinherited
formNoValidate bool?
If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the novalidate attribute of the button's form owner.
finalinherited
formTarget String?
f the button is a submit button, this attribute is an author-defined name or standardized, underscore-prefixed keyword indicating where to display the response from submitting the form.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
height String?
Valid for the image input button only, the height is the height of the image file to display to represent the graphical submit button.
finalinherited
hidden bool?
The hidden attribute is a boolean attribute. When present, it specifies that an dom node is not yet, or is no longer, relevant.
finalinherited
id String?
ID of dom node.
finalinherited
innerText String?
Element's inner text.
finalinherited
inputMode String?
Global value valid for all elements, it provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element or its contents. Values include none, text, tel, url, email, numeric, decimal, and search.
finalinherited
key Key?
Keys help Rad identify which widgets have changed, are added, or are removed when a widget has multiple sibling widgets.
finalinherited
list String?
The value given to the list attribute should be the id of a DataList element located in the same document. The DataList provides a list of predefined values to suggest to the user for this input.
finalinherited
max String?
Max number of characters.
finalinherited
maxLength int?
Max length of input.
finalinherited
min String?
Min number of characters.
finalinherited
minLength int?
Min length of input.
finalinherited
multiple bool?
The Boolean multiple attribute, if set, means the user can enter comma separated email addresses in the email widget or can choose more than one file with the file input.
finalinherited
name String?
A string specifying a name for the input control. This name is submitted along with the control's value when the form data is submitted.
finalinherited
onChange EventCallback?
On change event listener.
finalinherited
onClick EventCallback?
On click event listener.
finalinherited
onInput EventCallback?
On input event listener.
finalinherited
onKeyDown EventCallback?
On key down event listener.
finalinherited
onKeyPress EventCallback?
On key press event listener.
finalinherited
onKeyUp EventCallback?
On key up event listener.
finalinherited
pattern String?
Valid for text, search, url, tel, email, and password, the pattern attribute defines a regular expression that the input's value must match in order for the value to pass constraint validation.
finalinherited
placeholder String?
Valid for text, search, url, tel, email, password, and number, the placeholder attribute provides a brief hint to the user as to what kind of information is expected in the field.
finalinherited
readOnly bool?
A Boolean attribute which, if present, indicates that the user should not be able to edit the value of the input.
finalinherited
ref NullableElementCallback?
Reference callback.
finalinherited
required bool?
Boolean attribute which, if present, indicates that the user must specify a value for the input before the owning form can be submitted.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size String?
Valid for email, password, tel, url, and text, the size attribute specifies how much of the input is shown.
finalinherited
src String?
Valid for the image input button only, the src is string specifying the URL of the image file to display to represent the graphical submit button.
finalinherited
step String?
Valid for date, month, week, time, datetime-local, number, and range, the step attribute is a number that specifies the granularity that the value must adhere to.
finalinherited
style String?
The style attribute for inline CSS.
finalinherited
tabIndex int?
An integer attribute indicating if the element can take input focus (is focus-able), if it should participate to sequential keyboard navigation.
finalinherited
title String?
The title attribute specifies extra information about an dom node.
finalinherited
type InputType?
Type of Input.
finalinherited
value String?
The input control's value.
finalinherited
valueProperty String?
The input control's value property.
finalinherited
widgetCaptureEventListeners Map<DomEventType, EventCallback?>
Events that this widget is listening to in capturing phase.
no setterinherited
widgetEventListeners Map<DomEventType, EventCallback?>
Events that this widget is listening to in bubbling phase.
no setterinherited
width String?
Valid for the image input button only, the width is the width of the image file to display to represent the graphical submit button.
finalinherited

Methods

createRenderElement(RenderElement parent) RenderElement
Create element for current widget.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldUpdateWidget(covariant HTMLInputBase oldWidget) bool
Whether to update current widget.
inherited
shouldUpdateWidgetChildren(Widget oldWidget, bool shouldUpdateWidget) bool
Whether to update current widget's children.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited