For a integration test, I would like to retrieve device informations using the device_info plugin: https://github.com/flutter/plugins/blob/master/packages/device_info/lib/device_info.dart
Then, I will write a test and run it like so:
flutter drive --target=test_driver/main_screen.dart
This results in the following error message:
The built-in library 'dart:ui' is not available on the stand-alone VM.
'package:flutter/src/services/binding.dart': error: line 6 pos 1: library handler failed
import 'dart:ui' as ui;
Is it possible to add a non-ui related services library to flutter. The device_info plugin only requires the binding parts, so perhaps a library just for the binding is sufficient.