registerTestWindowingOwner property

  1. @protected
bool get registerTestWindowingOwner

Determines whether the binding automatically registers windowingOwner to the fake windowing owner implementation.

Unit tests make use of this to mock out windowing system communication for widgets. An integration test would set this to false, to test real windowing system input.

This property should not change the value it returns during the lifetime of the binding. Changing the value of this property risks very confusing behavior as the WindowingOwner may be inconsistently registered or unregistered.

Implementation

@protected
bool get registerTestWindowingOwner => true;