Skip to content

Commit 3804595

Browse files
fixed issue listed in pub.dev for score
1 parent fb1eec9 commit 3804595

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@
44
* Scan barcode/qrcode for mobile,web and window platform
55
* mobile uses flutter_barcode_scanner
66
* web and desktop uses html5-qrcode
7+
8+
## 0.0.2
9+
10+
* Fix platform list issue not displaying in pub.dev
11+
* update ReadMe.md
12+
* Fixed dart file convention for score
13+
* static analysis issue fix

lib/widget/web.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import 'package:flutter/material.dart';
22
import 'package:simple_barcode_scanner/constant.dart';
33
import 'package:simple_barcode_scanner/enum.dart';
4+
// ignore: avoid_web_libraries_in_flutter
45
import 'dart:html' as html;
56
import 'dart:ui' as ui;
67

lib/widget/window.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ class WindowBarcodeScanner extends StatelessWidget {
8383
String getAssetFileUrl({required String asset}) {
8484
final assetsDirectory = p.join(p.dirname(Platform.resolvedExecutable),
8585
'data', 'flutter_assets', asset);
86-
print(assetsDirectory);
8786
return Uri.file(assetsDirectory).toString();
8887
}
8988

pubspec.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
name: simple_barcode_scanner
2-
description: Simple Barcode Scanner Package
3-
version: 0.0.1
2+
description: Scanner plugin for Barcode/QR code. Scan using flutter_barcode_scanner for mobile device and html5-qrcode for web and windows
3+
version: 0.0.2
44
homepage: https://github.com/CodingWithTashi/simple_barcode_scanner
5+
platform:
6+
android:
7+
ios:
8+
web:
9+
windows:
510

611
environment:
712
sdk: ">=2.17.0 <3.0.0"
@@ -14,6 +19,7 @@ dependencies:
1419
webview_windows: ^0.1.9
1520
# Barcode scanner for android and ios
1621
flutter_barcode_scanner: ^2.0.0
22+
#Get assets path for window platform
1723
path: ^1.8.1
1824

1925
dev_dependencies:

0 commit comments

Comments
 (0)