TestPlatformDispatcher constructor Null safety
- {required PlatformDispatcher platformDispatcher}
Constructs a TestPlatformDispatcher that defers all behavior to the given dart:ui.PlatformDispatcher unless explicitly overridden for test purposes.
Implementation
TestPlatformDispatcher({
required ui.PlatformDispatcher platformDispatcher,
}) : _platformDispatcher = platformDispatcher;