DocPage class final

One page of the reference, as ui_docs serves it.

Constructors

DocPage({required String id, required String title, required String summary, required String when, required String example, required String pitfalls, List<DocSection> sections = const [], List<String> items = const [], int words = 0})
const

Properties

example → String
The page's "When to use", "Minimal example" and "Pitfalls" sections.
final
file → String
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String
The page's file stem and topic name (forms: forms.md).
final
items → List<String>
The node types, behaviors, triggers and actions it documents.
final
pitfalls → String
The page's "When to use", "Minimal example" and "Pitfalls" sections.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sections → List<DocSection>
Its other sections, each retrievable by id: the patterns and the generated reference tables.
final
summary → String
The first sentence of when.
final
title → String
final
when → String
The page's "When to use", "Minimal example" and "Pitfalls" sections.
final
words → int
The page's size in words.
final

Methods

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

Operators

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