platformDispatcher property

TestPlatformDispatcher platformDispatcher

The TestPlatformDispatcher that is being used in this test.

This will be injected into the framework such that calls to WidgetsBinding.platformDispatcher will use this. This allows users to change platform specific properties for testing.

See also:

Implementation

TestPlatformDispatcher get platformDispatcher => binding.platformDispatcher as TestPlatformDispatcher;