Skip to content

Commit cae7975

Browse files
depreciated updated
1 parent 50064dd commit cae7975

3 files changed

Lines changed: 12 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,10 @@
6868
## 0.1.4
6969
* Added BarcodeAppBar class
7070
* Depreciated centerTitle and appBarTitle, use [BarcodeAppBar] instead
71+
* Fixed [68](https://github.com/CodingWithTashi/simple_barcode_scanner/issues/68)
72+
73+
## 0.1.5
74+
* Fixed depreciated issue
75+
* Added BarcodeAppBar class
76+
* Depreciated centerTitle and appBarTitle, use [BarcodeAppBar] instead
7177
* Fixed [68](https://github.com/CodingWithTashi/simple_barcode_scanner/issues/68)

lib/simple_barcode_scanner.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,8 @@ class SimpleBarcodeScannerPage extends StatelessWidget {
2222
final ScanType scanType;
2323

2424
///AppBar Title
25-
@Deprecated(
26-
'Use BarcodeAppBar instead. This field will be removed in future versions.')
27-
final String? appBarTitle;
2825
29-
@Deprecated(
30-
'Use BarcodeAppBar instead. This field will be removed in future versions.')
26+
final String? appBarTitle;
3127

3228
///center Title
3329
final bool? centerTitle;
@@ -63,7 +59,11 @@ class SimpleBarcodeScannerPage extends StatelessWidget {
6359
this.cancelButtonText = "Cancel",
6460
this.isShowFlashIcon = false,
6561
this.scanType = ScanType.barcode,
62+
@Deprecated(
63+
'Use BarcodeAppBar instead. This field will be removed in future versions.')
6664
this.appBarTitle,
65+
@Deprecated(
66+
'Use BarcodeAppBar instead. This field will be removed in future versions.')
6767
this.centerTitle,
6868
this.child,
6969
this.barcodeAppBar});

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: simple_barcode_scanner
22
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.1.4
3+
version: 0.1.5
44
homepage: https://github.com/CodingWithTashi/simple_barcode_scanner
55
issue_tracker: https://github.com/CodingWithTashi/simple_barcode_scanner/issues
66

0 commit comments

Comments
 (0)