Text class
A widget to display text in Dawn apps. An implementation of <span />
.
- Inheritance
-
- Object
- Widget
- FrameworkWidget
- Text
Constructors
- Text(String value, {EventListener? onPointerDown, EventListener? onPointerUp, EventListener? onPointerEnter, EventListener? onPointerLeave, EventListener? onPress, Style? style, Animation? animation, String? key})
-
const
Properties
- animation → Animation?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String?
-
Keys are used in distinguishing unique widgets in the diffing process. It
also can be used to perform animations on a widget on every rebuild.
finalinherited
- onPointerDown → EventListener?
-
finalinherited
- onPointerEnter → EventListener?
-
finalinherited
- onPointerLeave → EventListener?
-
finalinherited
- onPointerUp → EventListener?
-
finalinherited
- onPress → EventListener?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → Style?
-
finalinherited
- 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