TextVirtualNode class
- Inheritance
-
- Object
- VirtualNode
- TextVirtualNode
Constructors
- TextVirtualNode(dynamic rootId, dynamic id, dynamic pid, dynamic index, dynamic renderContext)
Properties
- childCount → int
-
no setterinherited
-
context
→ RenderContext<
LoadInstanceContext> -
no setterinherited
- customTextScale ↔ TextScaler
-
getter/setter pair
- dirty ↔ bool
-
getter/setter pairinherited
- enableScale ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
finalinherited
- index → int
-
finalinherited
- lastLayoutWidth ↔ double
-
getter/setter pair
- nativeGestureDispatcher ↔ NativeGestureDispatcher
-
getter/setter pairinherited
- parent → VirtualNode?
-
no setterinherited
- pid → int
-
finalinherited
- provider → MethodPropProvider
-
no setteroverride
- rootId → int
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span ↔ TextSpan?
-
getter/setter pair
Methods
-
addChildAt(
VirtualNode child, int index) → void -
inherited
-
color(
int color) → void -
createData(
double width, FlexMeasureMode widthMode) → TextData -
createLayout(
) → TextData -
createPainter(
double width, FlexMeasureMode widthMode) → TextPainter -
createSpan(
{bool useChild = true}) → TextSpan -
fontFamily(
String fontFamily) → void -
fontSize(
double fontSize) → void -
fontStyle(
String fontStyleString) → void -
fontWeight(
String weight) → void -
getChildAt(
int index) → VirtualNode? -
inherited
-
letterSpacing(
double letterSpace) → void -
lineHeight(
int lineHeight) → void -
markDirty(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDelete(
) → void -
override
-
removeChild(
VirtualNode child) → void -
inherited
-
resetChildIndex(
VirtualNode child, int index) → void -
inherited
-
setEllipsizeMode(
String ellipsizeMode) → void -
setGestureType(
GestureType type, bool flag) → void -
inherited
-
setNumberOfLines(
int numberOfLines) → void -
setTextAlign(
String textAlign) → void -
setTextShadowColor(
int textShadowColor) → void -
text(
String text) → void -
textDecorationColor(
int textDecorationColor) → void -
textDecorationLine(
String textDecorationLineString) → void -
textDecorationStyle(
String textDecorationStyleString) → void -
textShadowOffset(
VoltronMap offsetMap) → void -
textShadowRadius(
double textShadowRadius) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateEvent(
EventHolder holder) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parseFontStyle(
String fontStyleStr) → FontStyle -
parseFontWeight(
String weight) → FontWeight -
parseTextAlign(
String textAlign) → TextAlign