TextWrap enum

Indicates how the control wraps text.

Inheritance

Constructors

TextWrap(String value)
const

Values

hard → const TextWrap

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 TextWrap('hard')
soft → const TextWrap

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 TextWrap('soft')

Properties

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

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<TextWrap>
A constant List of the values in this enum, in order of their declaration.