gumbarros / DevWidgets

DevWidgets is a Flutter application with several tools such as generators, formatters and converters for developers. It's directly inspired by DevToys.
https://gumbarros.github.io/DevWidgets
MIT License
153 stars 13 forks source link

Update dependencies in pubspec.yaml and pubspec.lock to fix build errors #22

Closed Norio4 closed 1 year ago

Norio4 commented 1 year ago

Hi! Great developers!

This PR updates several dependencies to fix build errors encountered during the flutter build linux --release.

Errors addressed in this PR:

  1. The go_router package was causing a NavigatorObserver mixin error. Updating it to the latest version fixes the issue.

  2. The screenshot package was trying to use a non-existent window parameter in RenderView. This has been fixed in the latest version of the package.

  3. The package_info_plus package had nullable fields in FileVersionInfo that were causing errors. The latest version of this package has fixed these issues.

For reference, here are the results from my flutter doctor:

[✓] Flutter (Channel stable, 3.10.5, on Ubuntu 22.04.2 LTS 5.19.0-46-generic, locale ja_JP.UTF-8)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2022.2)
[✓] VS Code
[✓] Connected device (2 available)
[✓] Network resources

By updating these dependencies, we have resolved the build errors and ensured our app remains compatible with the latest packages. Please review the changes and let me know if anything needs to be adjusted.

Thank you for your time.

gumbarros commented 1 year ago

Good morning, great contributor!

Thanks!!!