InputTester class final
Drives an InputService by hand: press keys, advance its clock.
Constructors
- InputTester(InputService service)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- now ↔ double
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service → InputService
-
final
Methods
-
keyDown(
PhysicalKeyboardKey key) → void -
keyUp(
PhysicalKeyboardKey key) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
step(
[double seconds = 1 / 60]) → void -
Advances the clock by
secondsand updates. -
tap(
PhysicalKeyboardKey key) → void -
Presses
key, updates, lets go, updates. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited