PropertyCheckFailure class
Represents a failure in a property check within widget testing.
This exception is thrown when a property of a widget does not meet the expected criteria defined in a matcher.
- Inheritance
-
- Object
- TestFailure
- PropertyCheckFailure
Constructors
- PropertyCheckFailure(String? message, {required String matcherDescription})
- Constructs a PropertyCheckFailure with a custom message and a description of the matcher that caused the failure.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- matcherDescription → String
-
Description of the matcher that led to this failure.
final
- message → String?
-
finalinherited
- 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