Document class

a wrapper for jaspr.Document that adds support for specifying a color schemes

Constructors

Document.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

withColorScheme({String? title, String? lang, String? base, String? charset, String? viewport, Map<String, String> meta = const {}, List<StyleRule> styles = const [], List<Component> head = const [], MaterialColorScheme? colorScheme, ColorScheme? defaultScheme, Contrast? defaultContrast, required Component body}) → Component
render a jaspr.Document with an optional color scheme