TextOverflow enum
The text-overflow CSS property sets how hidden overflow content is signaled to users. It can be clipped, display
an ellipsis (…), or display a custom string.
Read more: MDN text-overflow
Values
- clip → const TextOverflow
-
The default for this property. This keyword value will truncate the text at the limit of the content area, therefore the truncation can happen in the middle of a character.
const TextOverflow('clip') - ellipsis → const TextOverflow
-
This keyword value will display an ellipsis ('…') to represent clipped text.
The ellipsis is displayed inside the content area, decreasing the amount of text displayed. If there is not enough space to display the ellipsis, it is clipped.
const TextOverflow('ellipsis') - inherit → const TextOverflow
-
const TextOverflow('inherit') - initial → const TextOverflow
-
const TextOverflow('initial') - revert → const TextOverflow
-
const TextOverflow('revert') - revertLayer → const TextOverflow
-
const TextOverflow('revert-layer') - unset → const TextOverflow
-
const TextOverflow('unset')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The css value
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<
TextOverflow> - A constant List of the values in this enum, in order of their declaration.