CustomMinimumContrastGuideline class
A guideline which verifies that all elements specified by finder meet minimum contrast levels.
See also:
- AccessibilityGuideline, which provides a general overview of accessibility guidelines and how to use them.
- Inheritance
-
- Object
- AccessibilityGuideline
- CustomMinimumContrastGuideline
Constructors
Properties
- description → String
-
A description of the policy restrictions and criteria.
no setteroverride
- finder → Finder
-
The Finder used to find a subset of elements.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- minimumRatio → double
-
The minimum contrast ratio allowed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tolerance → double
-
Tolerance for minimum contrast ratio.
final
Methods
-
evaluate(
WidgetTester tester) → Future< Evaluation> -
Evaluate whether the current state of the
tester
conforms to the rule.override -
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