CounterStyleRegistry class
Creates a static registry of all available CounterStyle options.
Initially contains all predefined counter styles found in PredefinedCounterStyle
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
Static Methods
-
lookup(
String name) → CounterStyle - Lookup a predefined CounterStyle by name (constant-time lookup)
-
register(
CounterStyle styleToRegister) → dynamic - Register a new style to the CounterStyle registry. It can then be used as a fallback in other styles or looked up by name.
-
registerAll(
Iterable< CounterStyle> stylesToRegister) → dynamic - Registers a list of styles to the CounterStyle registry.
-
remove(
String name) → dynamic - Remove a CounterStyle from the registry