TextstylesetReserved class final
A class that contains constant variables representing different typesetting elements.
The TypesetConstants class provides easy access to literals used for
typesetting in Dart.
These literals can be used to format text in bold, italic, strikethrough,
monospace, underline, and create links.
Example Usage:
print(TypesetConstants.boldChar); // Output: *
print(TypesetConstants.italicChar); // Output: _
print(TypesetConstants.strikethroughChar); // Output: ~
print(TypesetConstants.monospaceChar); // Output: `
print(TypesetConstants.underlineChar); // Output: #
print(TypesetConstants.linkChar); // Output: §
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
Constants
-
all
→ const Set<
String> - all set of reserved characters
- boldChar → const String
- The literal for bold formatting.
- escapeLiteral → const String
- The escape character used in typesetting.
- fontSizeRegex → const String
- Regex to identify font size
- italicChar → const String
- The literal for italic formatting.
- linkChar → const String
- The literal for creating links.
- linkSplitChar → const String
- The literal for splitting links.
- monospaceChar → const String
- The literal for monospace formatting.
- strikethroughChar → const String
- The literal for strikethrough formatting.
- underlineChar → const String
- The literal for underline formatting.