TeXViewImage class

A widget that displays an image within a TeXView.

This widget supports images from both local assets and network URLs.

Inheritance

Constructors

TeXViewImage.asset(String imageUri)
Creates a TeXViewImage from a local asset.
const
TeXViewImage.network(String imageUri)
Creates a TeXViewImage from a network URL.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
imageUri String
The URI for the image (either an asset path or a network URL).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

meta() → TeXViewWidgetMeta
Returns metadata about the widget, such as its HTML tag and CSS classes.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onTapCallback(String id) → void
A callback triggered when a tap event occurs on this widget.
inherited
toJson() Map
Serializes the widget and its properties into a JSON-mappable object.
override
toString() String
A string representation of this object.
inherited

Operators

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