TeXViewContainer class

A widget that contains a single child TeXViewWidget with styling options.

TeXViewContainer is useful for wrapping a widget to apply specific styles (like padding, margins, borders, or background colors) to it.

Implemented types

Constructors

TeXViewContainer({required TeXViewWidget child, TeXViewStyle? style})
Creates a TeXViewContainer with a required child and optional style.
const

Properties

child TeXViewWidget
The TeXViewWidget child to be wrapped by this container.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TeXViewStyle?
The style to apply to the container.
final

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.
override
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