EasingInstantiationErrorCode enum - animation library - Dart API
EasingInstantiationErrorCode
EasingInstantiationErrorCode enum
Describes a reason for failing to create an Easing.
Values
- sampledDataPointCountTooSmall → const EasingInstantiationErrorCode
-
Number of sampled data points in the list that defines an easing function is too small (i.e. less than 2).
- sampledDataPointsFirstXValueInvalid → const EasingInstantiationErrorCode
-
Invalid first value of X in the list of sampled data points that define an easing function. First value of X must be 0.
- sampledDataPointsLastXValueInvalid → const EasingInstantiationErrorCode
-
Invalid last value of X in the list of sampled data points that define an easing function. Last value of X must be 1.
- sampledDataXValueOutOfRange → const EasingInstantiationErrorCode
-
Sampled data point X values that define an easing function are out of range [0, 1].
- sampledDataXValuesNonMonotonic → const EasingInstantiationErrorCode
-
Sampled data point X values in the list that defines an easing function don't increase monotonically.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
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
Constants
-
values
→ const List<
EasingInstantiationErrorCode> - A constant List of the values in this enum, in order of their declaration.