DVDocsStyle class

The site's type scale, in one place.

Every size the stylesheet asked for: 15px on 1.55 for prose, 13px on 1.45 for source, and the heading sizes a browser's defaults used to supply. The prose family is left as the platform's own, which is what system-ui named and what Flutter already draws with -- a fallback list would only be consulted for glyphs the default family has.

Annotations

Constructors

DVDocsStyle(DVDocsTheme theme)
const
DVDocsStyle.of(BuildContext context)
factory

Properties

badge → TextStyle
The one chip the site draws: a label rather than a sentence.
no setter
body → TextStyle
15px on 1.55.
no setter
code → TextStyle
13px on 1.45, monospace: a signature, an example record, a fenced block.
no setter
hashCode → int
The hash code for this object.
no setterinherited
A link, and the page you are on. Underlined because it is the one run in a paragraph that goes somewhere.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → TextStyle
13px and muted: the file a decision record was read from, a block of source with no meaning of its own.
no setter
theme → DVDocsTheme
final
title → TextStyle
A page's own title.
no setter

Methods

heading(int level) → TextStyle
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