BindingInstanceCardinality enum

Runtime multiplicity of widgets represented by one logical UI binding.

This is deliberately separate from the proof-layer cardinality field, which counts annotated application providers.

Inheritance
Available extensions

Values

exactlyOne → const BindingInstanceCardinality

Exactly one widget instance is expected.

zeroOrOne → const BindingInstanceCardinality

Zero or one widget instance is expected.

oneOrMore → const BindingInstanceCardinality

At least one widget instance is expected.

many → const BindingInstanceCardinality

Any number of widget instances is allowed.

Properties

allowsMany → bool
Whether this cardinality permits multiple instances.
no setter
allowsZero → bool
Whether this cardinality permits no instances.
no setter
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

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