AssertionSemantics class final
Reads semantics values while managing the temporary semantics handle.
Flutter changed the typed semantics flag API between supported versions. This boundary keeps that compatibility code out of the assertion facade.
Constructors
- AssertionSemantics(WidgetTester tester)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tester → WidgetTester
-
final
Methods
-
isChecked(
SemanticsData data) → bool -
isEnabled(
SemanticsData data) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read<
T> (T callback()) → T -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited