HypertextThemeExtension class

Extension for global configuration of Hypertext widget via topics

Inheritance

Constructors

HypertextThemeExtension.new({bool lowercaseAttrName = true, bool lowercaseElementName = true, bool ignoreErrorMarkup = false, List<HyperMarkup>? markups, ColorMapper? colorMapper})
const

Properties

colorMapper ColorMapper?
final
hashCode int
The hash code for this object.
no setteroverride
ignoreErrorMarkup bool
Whether to block unresolved tags
final
lowercaseAttrName bool
Whether to cast the attribute name in the parse marker to lowercase
final
lowercaseElementName bool
Whether to cast the element name in the parse marker to lowercase
final
markups List<HyperMarkup>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Object
The extension's type.
no setterinherited

Methods

copyWith({bool? lowercaseAttrName, bool? lowercaseElementName, bool? ignoreErrorMarkup, List<HyperMarkup>? markups, ColorMapper? colorMapper}) ThemeExtension<HypertextThemeExtension>
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant HypertextThemeExtension? other, double t) ThemeExtension<HypertextThemeExtension>
Linearly interpolate with another ThemeExtension object.
override
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.
override