System enum

Declares the predefined CounterStyle systems.

Inheritance

Constructors

System(IntRange range, bool usesNegative)
Constructs a System with the given range.
const

Values

cyclic → const System

Cycles repeatedly through its provided symbols, looping back to the beginning when it reaches the end of the list.

See https://www.w3.org/TR/css-counter-styles-3/#cyclic-system

const System(IntRange.infinite(), false)
numeric → const System

Interprets the list of symbols as digits to a "place-value" numbering system (i.e. first symbol represents 0, second represents 1, and so on).

See https://www.w3.org/TR/css-counter-styles-3/#numeric-system

const System(IntRange.infinite(), true)
fixed → const System

Runs through its list of provided symbols once, then falls back on the fallback counter style's algorithm.

See https://www.w3.org/TR/css-counter-styles-3/#fixed-system

const System(IntRange.infinite(), false)
alphabetic → const System

Interprets the the list of counter symbols as digits to an alphabetic numbering system. (e.g. a, b, c, ... z, aa, ab, ac, etc.)

See https://www.w3.org/TR/css-counter-styles-3/#alphabetic-system

const System(IntRange(min: 1), true)
symbolic → const System

Cycles repeatedly through its provided symbols, doubling, tripling, etc. the symbols on each successive pass through the list.

See https://www.w3.org/TR/css-counter-styles-3/#symbolic-system

const System(IntRange(min: 1), true)
additive → const System

Used to represent "sign-value" numbering systems, where the value of a number is obtained by adding the digits together. (e.g. Roman numerals)

See https://www.w3.org/TR/css-counter-styles-3/#additive-system

const System(IntRange(min: 0), true)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
range IntRange
The default range of the given System.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
usesNegative bool
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

Constants

values → const List<System>
A constant List of the values in this enum, in order of their declaration.