TestFlutterView constructor

TestFlutterView({
  1. required FlutterView view,
  2. required TestPlatformDispatcher platformDispatcher,
  3. required TestDisplay display,
})

Constructs a TestFlutterView that defers all behavior to the given FlutterView unless explicitly overridden for testing.

Implementation

TestFlutterView({
  required FlutterView view,
  required TestPlatformDispatcher platformDispatcher,
  required TestDisplay display,
}) :
  _view = view,
  _platformDispatcher = platformDispatcher,
  _display = display;