NotationPage class final

One page of a text (notationPages).

Constructors

NotationPage({required String name, required String id, required int? heading, required int from, required int to, required String text})
const

Properties

from → int
Its own lines (1-based, inclusive), the heading not among them. to is below from for a page with no line yet.
final
hashCode → int
The hash code for this object.
no setterinherited
heading → int?
The line (1-based) of its ### Name line; null when it has none.
final
id → String
Its screen's id (cook-mode): the canvas it expands to (NotationOptions.screen) and what go cook-mode names (NotationOptions.withScreens). Unique in the text.
final
name → String
As its ### Name line names it (Cook mode); the fallback name for a text, or lines before the first heading, with none.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
The whole text with every line that is not this page's blank: its own lines, the app's (before the first heading) and each state line of another page it uses without declaring it.
final
to → int
Its own lines (1-based, inclusive), the heading not among them. to is below from for a page with no line yet.
final

Methods

holds(int line) → bool
Whether line (1-based) is the page's heading or one of its own lines.
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.
inherited