WrapType enum

Indicates how the control wraps text.

Inheritance

Constructors

WrapType(String nativeValue)
const

Values

hard → const WrapType

The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; the cols attribute must also be specified for this to take effect.

const WrapType('hard')
soft → const WrapType

The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.

const WrapType('soft')
off → const WrapType

Non-Standard : Like soft but changes appearance to white-space: pre so line segments exceeding cols are not wrapped and the textarea becomes horizontally scrollable.

const WrapType('off')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
nativeValue String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<WrapType>
A constant List of the values in this enum, in order of their declaration.