Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Navaron Bracke
2023-11-08 21:09:40 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a3584378fe8673cdcefb9dffb2b9e2bd957f4c8e
a3584378
1 parent
4c7ed61a
add stub for the web implementation
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
lib/mobile_scanner_web.dart
lib/src/web/mobile_scanner_web.dart
pubspec.yaml
lib/mobile_scanner_web.dart
deleted
100644 → 0
View file @
4c7ed61
export
'src/web/base.dart'
;
export
'src/web/jsqr.dart'
;
export
'src/web/zxing.dart'
;
lib/src/web/mobile_scanner_web.dart
0 → 100644
View file @
a358437
import
'package:flutter_web_plugins/flutter_web_plugins.dart'
;
import
'package:mobile_scanner/src/mobile_scanner_platform_interface.dart'
;
/// A web implementation of the MobileScannerPlatform of the MobileScanner plugin.
class
MobileScannerWeb
extends
MobileScannerPlatform
{
/// Constructs a [MobileScannerWeb] instance.
MobileScannerWeb
();
static
void
registerWith
(
Registrar
registrar
)
{
MobileScannerPlatform
.
instance
=
MobileScannerWeb
();
}
}
...
...
pubspec.yaml
View file @
a358437
...
...
@@ -44,4 +44,4 @@ flutter:
pluginClass
:
MobileScannerPlugin
web
:
pluginClass
:
MobileScannerWebPlugin
fileName
:
mobile_scanner_web_plugin
.dart
fileName
:
web/mobile_scanner_web
.dart
...
...
Please
register
or
login
to post a comment