FakeFocusSignal class final
A FocusSignal the test drives by hand.
Constructors
Properties
-
focused
→ Stream<
bool> -
Emits true when focus is regained and false when it is lost.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListener → bool
-
Whether anything is currently listening, which is how a test proves an
installer was installed and removed.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
blur(
) → void - Reports that the app lost focus.
-
focus(
) → void - Reports that the app regained focus.
-
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