Return values used by methods on the cassowary Solver.
Constants
- badRequiredStrength → Result
-
The result when the Constraint constraint was added at an invalid priority or an edit Variable was added at an invalid or required priority.
const Result._('Bad required strength')
- duplicateConstraint → Result
-
The result when the Constraint could not be added to the Solver because it was already present in the solver.
const Result._('Duplicate constraint')
- duplicateEditVariable → Result
-
The result when could not add the edit Variable to the Solver because it was already added to the Solver previously.
const Result._('Duplicate edit variable')
- success → Result
-
The result when the operation was successful.
const Result._('Success', isError: false)
- unknownConstraint → Result
-
The result when the Constraint could not be removed from the solver because it was not present in the Solver to begin with.
const Result._('Unknown constraint')
- unknownEditVariable → Result
-
The result when the edit Variable could not be removed from the solver because it was not present in the Solver to begin with.
const Result._('Unknown edit variable')
- unsatisfiableConstraint → Result
-
The result when the Constraint could not be added to the Solver because it was unsatisfiable. Try lowering the Priority of the Constraint and try again.
const Result._('Unsatisfiable constraint')
Properties
- error → bool
-
Whether this Result represents an error (true) or not (false).
read-only - message → String
-
The human-readable string associated with this result.
read-only - hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited