Navaron Bracke

rename the web view type to kebab case

@@ -55,7 +55,7 @@ class MobileScannerWeb extends MobileScannerPlatform { @@ -55,7 +55,7 @@ class MobileScannerWeb extends MobileScannerPlatform {
55 StreamController.broadcast(); 55 StreamController.broadcast();
56 56
57 /// The view type for the platform view factory. 57 /// The view type for the platform view factory.
58 - static const String _viewType = 'MobileScannerWeb'; 58 + static const String _viewType = 'mobile-scanner-view';
59 59
60 static void registerWith(Registrar registrar) { 60 static void registerWith(Registrar registrar) {
61 MobileScannerPlatform.instance = MobileScannerWeb(); 61 MobileScannerPlatform.instance = MobileScannerWeb();