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.

See also:

Inheritance
Annotations

Constructors

MinimumTapTargetGuideline({required Size size, required String link})
Create a new MinimumTapTargetGuideline.
const

Properties

description String
A description of the policy restrictions and criteria.
read-onlyoverride
hashCode int
The hash code for this object.
read-onlyinherited
A link describing the tap target guidelines for a platform.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
size Size
The minimum allowed size of a tappable node.
final

Methods

evaluate(WidgetTester tester) FutureOr<Evaluation>
Evaluate whether the current state of the tester conforms to the rule.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
shouldSkipNode(SemanticsNode node) bool
Returns whether SemanticsNode should be skipped for minimum tap target guideline.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited