-
-
Notifications
You must be signed in to change notification settings - Fork 77
/
pubspec.yaml
78 lines (71 loc) · 2.32 KB
/
pubspec.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: simple_barcode_scanner
description: simple_barcode_scanner that let you scan barcode and qr code in mobile, web and windows.
version: 0.2.4
homepage: https://github.com/CodingWithTashi/simple_barcode_scanner
issue_tracker: https://github.com/CodingWithTashi/simple_barcode_scanner/issues
platforms:
android:
ios:
web:
windows:
environment:
sdk: ^3.5.3
flutter: ">=1.17.0"
dependencies:
flutter:
sdk: flutter
# Flutter window webview
webview_windows: ^0.4.0
# Barcode scanner for android and ios
#flutter_barcode_scanner: ^2.0.0
#Get assets path for window platform
path: ^1.9.0
#checking permissions
permission_handler: ^11.3.1
#Add new web package
web: ^1.1.0
flutter_plugin_android_lifecycle: ^2.0.23
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^3.0.1
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter packages.
flutter:
# To add assets to your package, add an assets section, like this:
assets:
- packages/simple_barcode_scanner/assets/barcode.html
- packages/simple_barcode_scanner/assets/html5-qrcode.min.js
plugin:
platforms:
android:
package: com.amolg.flutterbarcodescanner
pluginClass: FlutterBarcodeScannerPlugin
ios:
pluginClass: SwiftFlutterBarcodeScannerPlugin
#
# For details regarding assets in packages, see
# https://flutter.dev/assets-and-images/#from-packages
#
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware
# To add custom fonts to your package, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts in packages, see
# https://flutter.dev/custom-fonts/#from-packages