diff --git a/CHANGELOG.md b/CHANGELOG.md index 45a4b870f..1214f0742 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.1.2 +* MobileScannerArguments is now exported. [7](https://github.com/juliansteenbakker/mobile_scanner/issues/7) + +Bugfixes: +* Fixed application crashing when stop() or start() is called multiple times. [5](https://github.com/juliansteenbakker/mobile_scanner/issues/5) + ## 0.1.1 mobile_scanner is now compatible with sdk >= 2.12 and flutter >= 2.2.0 diff --git a/lib/mobile_scanner.dart b/lib/mobile_scanner.dart index bdbdf5d51..fdc489201 100644 --- a/lib/mobile_scanner.dart +++ b/lib/mobile_scanner.dart @@ -2,4 +2,5 @@ library mobile_scanner; export 'src/mobile_scanner.dart'; export 'src/mobile_scanner_controller.dart'; +export 'src/mobile_scanner_arguments.dart'; export 'src/objects/barcode.dart'; diff --git a/lib/src/mobile_scanner.dart b/lib/src/mobile_scanner.dart index ad18863e8..b7ed13fb2 100644 --- a/lib/src/mobile_scanner.dart +++ b/lib/src/mobile_scanner.dart @@ -1,8 +1,6 @@ import 'package:flutter/material.dart'; import 'package:mobile_scanner/mobile_scanner.dart'; -import 'mobile_scanner_arguments.dart'; - enum Ratio { ratio_4_3, ratio_16_9 } /// A widget showing a live camera preview. diff --git a/lib/src/mobile_scanner_controller.dart b/lib/src/mobile_scanner_controller.dart index 33de0f694..fc5c6aa67 100644 --- a/lib/src/mobile_scanner_controller.dart +++ b/lib/src/mobile_scanner_controller.dart @@ -4,7 +4,6 @@ import 'package:flutter/cupertino.dart'; import 'package:flutter/services.dart'; import 'package:mobile_scanner/mobile_scanner.dart'; -import 'mobile_scanner_arguments.dart'; import 'objects/barcode_utility.dart'; /// The facing of a camera.