TransparentNode class abstract

TransparentNode refers to those node who have zero rendering content iteself, and are expected to be unwrapped for its children during rendering.

TransparentNodes are only allowed to appear directly under EquationRowNodes and other TransparentNodes. And those nodes have to explicitly unwrap transparent nodes during building stage.

Inheritance
Implementers
Available Extensions

Constructors

TransparentNode()

Properties

capturedCursor int
Number of cursor positions that can be captured within this node.
no setterinherited
childPositions List<int>
Position of child nodes.
latefinalinherited
children List<GreenNode>
Children of this node.
no setterinherited
editingWidth int
Minimum number of "right" keystrokes needed to move the cursor pass through this node (from the rightmost of the previous node, to the leftmost of the next node)
latefinalinherited
flattenedChildList List<GreenNode>
Children list when fully expand any underlying TransparentNode
latefinal
hashCode int
The hash code for this object.
no setterinherited
leftType AtomType
AtomType observed from the left side.
latefinal
rightType AtomType
AtomType observed from the right side.
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildWidget(MathOptions options, List<BuildResult?> childBuildResults) → BuildResult
Compose Flutter widget with child widgets already built
override
clipChildrenBetween(int pos1, int pos2) ParentableNode<GreenNode>
inherited
computeChildOptions(MathOptions options) List<MathOptions>
Calculate the options passed to children when given options from parent
inherited
computeChildPositions() List<int>
Compute children positions. Abstract.
override
computeWidth() int
Compute width from children. Abstract.
override
getRange(int pos) TextRange
TextRange
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRebuildWidget(MathOptions oldOptions, MathOptions newOptions) bool
Whether the specific MathOptions parameters that this node directly depends upon have changed.
inherited
toJson() Map<String, Object?>
inherited
toString() String
A string representation of this object.
inherited
updateChildren(covariant List<GreenNode?> newChildren) ParentableNode<GreenNode>
Return a copy of this node with new children.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited