mirror of
https://github.com/R0m1k3/xtremobile.git
synced 2026-10-17 12:18:42 +02:00
11 lines
319 B
Dart
11 lines
319 B
Dart
// Fake implementation for non-web platforms
|
|
class PlatformViewRegistry {
|
|
/// Dummy implementation of registerViewFactory
|
|
void registerViewFactory(String viewId, dynamic cb) {
|
|
// No-op on non-web platforms
|
|
}
|
|
}
|
|
|
|
/// Global instance to match dart:ui_web API
|
|
final platformViewRegistry = PlatformViewRegistry();
|