MDCTextField class

Text fields allow users to input, edit, and select text.

Javascript: mdc.textField.MDCTextField.

Inheritance
Implemented types

Constructors

MDCTextField(Element root, [MDCFoundation? foundation, dynamic args])

Properties

disabled bool?
getter/setter pair
foundation MDCFoundation
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
helperTextContent String
no getter
js → TextFieldComponent
The underlying Javascript component.
no setteroverride
leadingIconAriaLabel String
no getter
leadingIconContent String
no getter
max String?
getter/setter pair
maxLength int?
getter/setter pair
min String?
getter/setter pair
minLength int?
getter/setter pair
pattern String?
getter/setter pair
required bool?
getter/setter pair
ripple MDCRipple
getter/setter pairoverride-getter
root Element
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
step String?
getter/setter pair
trailingIconAriaLabel String
no getter
trailingIconContent String
no getter
useNativeValidation bool
no getter
valid bool?
getter/setter pair
value String?
getter/setter pair

Methods

destroy() → void
Releases resources and removes any listeners.
inherited
emit(String type, dynamic data, [bool shouldBubble = false]) → void
inherited
layout() → void
listen(String type, EventListener handler, {bool captureThis = false}) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unlisten(String type, EventListener handler, {bool captureThis = false}) → void
inherited

Operators

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

Static Methods

attachTo(Element root) MDCTextField