Text class
A Widget that paints an html.SpanElement.
- Inheritance
-
- Object
- Widget
- PaintedWidget
- Text
Constructors
-
Text(String value, {Style? style, Animation? animation, EventCallback<
EventDetails< ? onTap, PointerEventCallback<Event> >PointerEventDetails> ? onPointerDown, PointerEventCallback<PointerEventDetails> ? onPointerUp, PointerEventCallback<PointerEventDetails> ? onPointerEnter, PointerEventCallback<PointerEventDetails> ? onPointerLeave, PointerEventCallback<PointerEventDetails> ? onPointerMove, PointerEventCallback<PointerEventDetails> ? onPointerCancel, PointerEventCallback<PointerEventDetails> ? onPointerOver, PointerEventCallback<PointerEventDetails> ? onPointerOut, String? key, Ref? ref}) -
Creates a new instance of Text.
const
Properties
- animation → Animation?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String?
-
finalinherited
-
onPointerCancel
→ PointerEventCallback<
PointerEventDetails> ? -
finalinherited
-
onPointerDown
→ PointerEventCallback<
PointerEventDetails> ? -
finalinherited
-
onPointerEnter
→ PointerEventCallback<
PointerEventDetails> ? -
finalinherited
-
onPointerLeave
→ PointerEventCallback<
PointerEventDetails> ? -
finalinherited
-
onPointerMove
→ PointerEventCallback<
PointerEventDetails> ? -
finalinherited
-
onPointerOut
→ PointerEventCallback<
PointerEventDetails> ? -
finalinherited
-
onPointerOver
→ PointerEventCallback<
PointerEventDetails> ? -
finalinherited
-
onPointerUp
→ PointerEventCallback<
PointerEventDetails> ? -
finalinherited
-
onTap
→ EventCallback<
EventDetails< ?Event> > -
finalinherited
- ref → Ref?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → Style?
-
finalinherited
- value → String
-
final
Methods
-
createNode(
) → TextNode -
Returns a Node corresponding to this Widget at a particular location
in the Node tree.
override
-
matches(
Widget otherWidget) → bool -
Checks if two widgets match during a ReassemblableNode reassembly.
inherited
-
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