TeXViewImage class
A widget that displays an image within a TeXView.
This widget supports images from both local assets and network URLs.
- Inheritance
-
- Object
- TeXViewWidget
- TeXViewImage
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
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