Heading class

A heading with a title and optional subtitle.

Heading can leverage different headingLevels to represent hierarchy.

Mixed in types

Constructors

Heading({required String title, Paragraph? subtitle, int headingLevel = 1})

Properties

hashCode int
The hash code for this object.
no setteroverride
headingLevel int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitle → Paragraph?
final
title String
final

Methods

getChildren() List<Indexable>
An optional list of elements that are children of the current element
inherited
getId() String
The unique Id of the element
override
getTitle() String
The title with which to refer to the element as
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toHtml() String
Returns an HTML representation of the element
override
toString() String
A string representation of this object.
inherited

Operators

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