Skip to content

Commit

Permalink
Merge pull request #15 from KobayashiYoh/feature/upgrade-dependences
Browse files Browse the repository at this point in the history
Feature/upgrade dependences
  • Loading branch information
KobayashiYoh authored Sep 18, 2024
2 parents a24a062 + 7af7143 commit 989f13b
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
8 changes: 0 additions & 8 deletions .flutter-plugins

This file was deleted.

1 change: 0 additions & 1 deletion .flutter-plugins-dependencies

This file was deleted.

9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ migrate_working_dir/

# Flutter/Dart/Pub related
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
/pubspec.lock
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
build/
.pub-cache/
.pub/
/build/
/pubspec.lock
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.4

* Upgrade dependencies.

## 0.0.3

* Add documentation to CameraUtil and FocusedAreaOCRPainter classes.
Expand Down
4 changes: 2 additions & 2 deletions lib/focused_area_ocr_flutter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import 'camera_util.dart';
/// A widget for capturing live camera feed and performing OCR on a focused area of the camera view.
class FocusedAreaOCRView extends StatefulWidget {
const FocusedAreaOCRView({
Key? key,
super.key,
this.focusedAreaWidth = 200.0,
this.focusedAreaHeight = 40.0,
this.focusedAreaCenter = Offset.zero,
Expand All @@ -26,7 +26,7 @@ class FocusedAreaOCRView extends StatefulWidget {
this.onCameraFeedReady,
this.onDetectorViewModeChanged,
this.onCameraLensDirectionChanged,
}) : super(key: key);
});

/// The width of the focused area.
final double? focusedAreaWidth;
Expand Down
10 changes: 5 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: focused_area_ocr_flutter
description: This is a package to get text in the focused area on the camera. It is created based on OCR technology by https://pub.dev/packages/google_mlkit_text_recognition.
version: 0.0.3
version: 0.0.4
repository: https://github.com/KobayashiYoh/focused_area_ocr_flutter

environment:
Expand All @@ -10,14 +10,14 @@ environment:
dependencies:
flutter:
sdk: flutter
google_mlkit_commons: ^0.6.1
google_mlkit_text_recognition: ^0.11.0
camera: ^0.10.5+7
google_mlkit_commons: ^0.7.1
google_mlkit_text_recognition: ^0.13.0
camera: ^0.10.0+6

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
flutter_lints: ^4.0.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down

0 comments on commit 989f13b

Please sign in to comment.