PlCodeToken class

One run of text with a single colour.

Annotations

Constructors

PlCodeToken(String text, [PlCodeTokenKind? kind])
Creates a run. Leave kind out for text the theme draws in its own ink.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
kind PlCodeTokenKind?
Which slot colours them, or null for the foreground.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The characters.
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