applicationIntegrationAdapterRelativePath static method
Adapter next to widgetEntryRelative so import 'foo.dart' still works.
Implementation
static String applicationIntegrationAdapterRelativePath(
String widgetEntryRelative,
) {
final normalized = widgetEntryRelative.replaceAll('\\', '/');
final dir = p.posix.dirname(normalized);
final base = p.posix.basenameWithoutExtension(normalized);
final ext = p.posix.extension(normalized);
return p.posix.join(dir, '$base.integration$ext');
}