discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

TextEntryOverlay class

Spec 05 D9: the inline field for TextTool.

Where it sits. Outside the InteractionLayer, so a click on it is not a canvas click.

Keys. The guard lets the shell's letters through as text, and Escape cancels.

Rebuilds. The field is a stable child of the camera builder, so a pan or zoom moves it and never rebuilds it (Ruling 05-10).

Commit and cancel. Enter commits. Any other loss of focus cancels if the placement is still pending. A canvas click has already committed synchronously in the tool, so its blur finds nothing to cancel. A flow of the document host (spec 12a D2, R-5) commits the entry through the tool's finish before it moves the focus, so the focus loss that follows finds nothing to cancel either.

Where the focus goes. Back to the canvas, however the entry ends (_onPending, _onTapOutside).

Inheritance

Constructors

TextEntryOverlay({Key? key, required TextTool tool, required ToolController tools, required CameraController camera})
const

Properties

camera → CameraController
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tool → TextTool
final
tools → ToolController
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<TextEntryOverlay>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

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