BMFTextLineBreakMode enum Null safety

枚举:文本剪裁方式

Inheritance
  • Object
  • Enum
  • BMFTextLineBreakMode

Constructors

BMFTextLineBreakMode()
const

Values

wordWrapping → const BMFTextLineBreakMode

Wrap at word boundaries, default

const BMFTextLineBreakMode(0)
charWrapping → const BMFTextLineBreakMode

Wrap at character boundaries

const BMFTextLineBreakMode(1)
clipping → const BMFTextLineBreakMode

Simply clip

const BMFTextLineBreakMode(2)
truncatingHead → const BMFTextLineBreakMode

Truncate at head of line: "...wxyz"

const BMFTextLineBreakMode(3)
truncatingTail → const BMFTextLineBreakMode

Truncate at tail of line: "abcd..."

const BMFTextLineBreakMode(4)
truncatingMiddle → const BMFTextLineBreakMode

Truncate middle of line: "ab...yz"

const BMFTextLineBreakMode(5)

Properties

hashCode → int
The hash code for this object.
read-only, inherited
index → int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<BMFTextLineBreakMode>
A constant List of the values in this enum, in order of their declaration.
[wordWrapping, charWrapping, clipping, truncatingHead, truncatingTail, truncatingMiddle]