Skip to content

Bump flutter_zxing from 3.1.0 to 3.1.1 - #1424

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pub/flutter_zxing-3.1.1
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pub/flutter_zxing-3.1.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 17, 2026

Copy link
Copy Markdown
Contributor

Bumps flutter_zxing from 3.1.0 to 3.1.1.

Changelog

Sourced from flutter_zxing's changelog.

3.1.1

  • The cut-out of ReaderWidget's scanner overlay is now centred on the camera preview wherever the widget sits on screen. It was placed as if the reader started at the top-left corner of the screen, so inside a Padding, below an app bar or further down a Column it was shifted up and to the left by that distance, partly outside the darkened area (#257).
  • The cut-out of ReaderWidget's scanner overlay now marks the area that is actually scanned. cropPercent is a fraction of the camera frame, and the frame is drawn covering the widget, but the cut-out was sized and moved within the widget. Whenever the camera and the widget were shaped differently, which on a phone is the usual case, the scanned area was larger than the cut-out, and the crop offsets moved the two apart. On such screens the cut-out is now larger than before. Thanks to @​frankmer for the report (#151).
  • ReaderWidget no longer leaves the camera open when it is disposed while the camera is still starting, for example when the user leaves the scanner right after opening it.
  • ReaderWidget restarts scanning when the app comes back to the foreground even if the camera reported an event, such as an orientation change, while the app was in the background. Before, the preview came back but nothing was scanned until the widget was rebuilt.
  • A change of lensDirection or resolution, or a tap on the camera toggle, made while the camera is still starting is applied once it has started, instead of being dropped.
  • cropPercent must now be between 0 and 1. A larger value used to make every frame fail to decode without telling anyone; release builds now clamp it.
  • Multi-scan outlines are drawn the right way up on Android devices held upside down (portraitDown).
  • A decoded code with an empty payload no longer leaks a small native buffer on every frame.
  • The Android build of the plugin uses Android Gradle Plugin 9.1 and Java 17, matching the current Flutter templates.
Commits
  • ae89728 chore: release 3.1.1
  • d0c8ce9 refactor: improve camera handling and error management in ReaderWidget
  • 7d0173d refactor: simplify cut-out rectangle calculation in ScannerOverlayBorder
  • 53cf1f8 refactor: update dependencies and improve camera handling
  • 7920d3c Merge pull request #256 from khoren93/dependabot/pub/ffigen-23.0.0
  • e933bcc Merge pull request #255 from khoren93/dependabot/github_actions/actions/setup...
  • b1fd5a1 build(deps): bump ffigen from 22.0.0 to 23.0.0
  • 0355842 build(deps): bump actions/setup-java from 6.0.1 to 6.1.0
  • 36bdb18 Merge pull request #254 from khoren93/dependabot/pub/multi-eb5e21bfa9
  • 09f4937 Merge pull request #253 from khoren93/dependabot/github_actions/actions/setup...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [flutter_zxing](https://github.com/khoren93/flutter_zxing) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/khoren93/flutter_zxing/releases)
- [Changelog](https://github.com/khoren93/flutter_zxing/blob/main/CHANGELOG.md)
- [Commits](khoren93/flutter_zxing@v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: flutter_zxing
  dependency-version: 3.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update Dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants