MinimumTapTargetGuideline class Null safety
A guideline which enforces that all tappable semantics nodes have a minimum size.
Each platform defines its own guidelines for minimum tap areas.
- AccessibilityGuideline, which provides a general overview of accessibility guidelines and how to use them.
- androidTapTargetGuideline, which checks that tappable nodes have a minimum size of 48 by 48 pixels.
- iOSTapTargetGuideline, which checks that tappable nodes have a minimum size of 44 by 44 pixels.
- description → String
A description of the policy restrictions and criteria.
- hashCode → int
The hash code for this object.
A link describing the tap target guidelines for a platform.
- runtimeType → Type
A representation of the runtime type of the object.
- size → Size
The minimum allowed size of a tappable node.
WidgetTester tester) → FutureOr< Evaluation>
Evaluate whether the current state of the
testerconforms to the rule.override
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
SemanticsNode node) → bool
- Returns whether SemanticsNode should be skipped for minimum tap target guideline.
) → String
A string representation of this object.