Navaron Bracke

fix type

@@ -93,7 +93,7 @@ class MobileScannerWeb extends MobileScannerPlatform { @@ -93,7 +93,7 @@ class MobileScannerWeb extends MobileScannerPlatform {
93 93
94 ui_web.platformViewRegistry.registerViewFactory( 94 ui_web.platformViewRegistry.registerViewFactory(
95 _viewType, 95 _viewType,
96 - (int id) => _divElement, 96 + (int id) => _divElement!,
97 ); 97 );
98 } 98 }
99 99