NamedInlineDeltaFormat class

An InlineDeltaFormat that applies a given attribution to text whenever that text insertion includes an attribute with the given name.

This class removes verbosity when writing InlineDeltaFormats where the existence of an attribute name means that a known attribution should be applied.

Implemented types

Constructors

NamedInlineDeltaFormat(String name, Attribution attribution)
const

Properties

attribution Attribution
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

from(Operation operation) Attribution?
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.
inherited