TeXViewDetails class
A widget that provides a disclosure widget in which information is visible only when the widget is toggled into an "open" state.
It corresponds to the HTML <details> element.
- Implemented types
Constructors
- TeXViewDetails({required String title, required TeXViewWidget body, TeXViewStyle? style})
-
Creates a TeXViewDetails widget with a
titleand abody.const
Properties
- body → TeXViewWidget
-
The content hidden inside the details widget.
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 details container.
final
- title → String
-
The summary or title of the details widget.
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