ListMarker class

A list item's marker, as CommonMark reads it.

Constructors

ListMarker({required int indent, required bool ordered, required int delimiter, required int number, required int contentCol, required String content, required bool blank})
const

Properties

blank → bool
Whether nothing follows the marker on its line.
final
content → String
The rest of the marker line: the item's first line.
final
contentCol → int
The column the item's content starts at. Lines indented this far belong to the item.
final
delimiter → int
The bullet (-, +, *) or, for an ordered marker, the character after the number (. or )). Changing it starts a new list.
final
hashCode → int
The hash code for this object.
no setterinherited
indent → int
Columns of indentation before the marker.
final
number → int
The ordered number; 0 for a bullet.
final
ordered → bool
final
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
sameKind(ListMarker other) → bool
Whether an item with this marker continues a list started with other.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited