ERROR: The name 'platformViewRegistry' is being referenced through the prefix 'ui', but it isn't defined in any of the libraries imported using that prefixpull/44/head
parent
bafda1f340
commit
6b78f0605b
1 changed files with 1 additions and 3 deletions
@ -1,9 +1,7 @@ |
|||||||
import 'dart:ui' as ui; |
|
||||||
|
|
||||||
// ignore: camel_case_types |
// ignore: camel_case_types |
||||||
class platformViewRegistry { |
class platformViewRegistry { |
||||||
static registerViewFactory(String viewId, dynamic cb) { |
static registerViewFactory(String viewId, dynamic cb) { |
||||||
// ignore:undefined_prefixed_name |
// ignore:undefined_prefixed_name |
||||||
ui.platformViewRegistry.registerViewFactory(viewId, cb); |
// ui.platformViewRegistry.registerViewFactory(viewId, cb); |
||||||
} |
} |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue