OutlineEntry class

One line of a document's outline (its table of contents): a PDF's bookmarks, a Word document's headings, a deck's slide titles, a Markdown file's headings.

Annotations

Constructors

OutlineEntry({required String title, required int level, int? target})
An entry called title at nesting level; target is what DocumentController.goToOutlineEntry moves to, null for a heading that only groups others.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
level → int
0 for a top-level entry, 1 for the next, and so on.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
target → int?
Where it leads, in the format's own terms: a PDF page or slide number (from 1, as DocumentController.goTo takes), a Markdown line number, a Word paragraph number. Null when it leads nowhere. Only pass it to DocumentController.goToOutlineEntry of the controller that gave it.
final
title → String
What the entry says.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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