LatexTapDetails class final

What GptMarkdownConfig.onLatexTap is told about a tap on a formula.

Annotations

Constructors

LatexTapDetails({required String tex, required String source, required bool inline, String? tappedTex, String? href})
Creates tap details.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
href → String?
The target of an \href{…}{…} the tap landed on, or null.
final
inline → bool
Whether the formula is inline (\(…\), $…$) rather than a block (\[…\], $$…$$).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String
The whole formula as written in the document, before any workaround.
final
tappedTex → String?
The TeX of the part under the finger — a symbol, a fraction, a group — or null when the tap did not land on a part, or the builder that drew the formula only reports the formula as a whole.
final
tex → String
The whole formula as rendered, after GptMarkdownConfig.latexWorkaround.
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