MdListItem class

One item of an ordered/unordered list. children holds the item's inline content followed by any nested block nodes (e.g. a nested list).

Constructors

MdListItem({required List<MdNode> children, int? number})
const

Properties

children → List<MdNode>
final
hashCode → int
The hash code for this object.
no setterinherited
number → int?
The literal marker number for ordered-list items (5. → 5), preserved so non-sequential numbering renders as written. Null for bullets.
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
toString() → String
A string representation of this object.
inherited

Operators

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