flutterImportPath property
If the import path for flutter is not package:flutter, modify the flutterImportPath variable to change the import directives in the generated code. This is useful to mock out Flutter during tests since package:flutter cannot be imported from Dart VM.
Implementation
String? flutterImportPath = 'package:flutter';