Skip to content

Commit

Permalink
Merge pull request #22 from juliansteenbakker/feature/scanner-arguments
Browse files Browse the repository at this point in the history
imp: export MobileScannerArguments
  • Loading branch information
juliansteenbakker authored Feb 23, 2022
2 parents ff410a1 + c421f81 commit cd0f257
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 1 addition & 0 deletions lib/mobile_scanner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
2 changes: 0 additions & 2 deletions lib/src/mobile_scanner.dart
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 0 additions & 1 deletion lib/src/mobile_scanner_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cd0f257

Please sign in to comment.