testFocusEvents property

List<ViewFocusEvent> get testFocusEvents

Returns the list of ViewFocusEvents that have been received by requestViewFocusChange since the last call to resetFocusedViewTestValues.

Clearing or modifying the returned list will do nothing (it's a copy). Call resetFocusedViewTestValues to clear.

Implementation

List<ViewFocusEvent> get testFocusEvents => _testFocusEvents.toList();