ListEnumerator class

Defines how list items are explicitly enumerated.

Constructors

ListEnumerator(String _builder(int index))
Creates a custom enumerator.
const

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

call(int index) → String
Generates the enumeration string for the given index.
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

Static Properties

alphabet → ListEnumerator
Lowercase alphabet (a., b., c.).
final
arabic → ListEnumerator
Arabic numerals (1., 2., 3.).
final
bullet → ListEnumerator
Standard bullet (•).
final
roman → ListEnumerator
Uppercase roman numerals (I., II., III.).
final

Static Methods

fixed(String symbol) → ListEnumerator
Creates a fixed enumerator (repeats the same string).