Skip to content

feat: upgrade dependencies #162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Numoy
Copy link
Member

@Numoy Numoy commented May 27, 2025

No description provided.

I updated all dependencies in pubspec.yaml, example/pubspec.yaml, and packages/survey_kit_image_answer/pubspec.yaml to their latest compatible versions.

I then ran `flutter pub get` in all respective directories and addressed breaking changes introduced by the upgrades. I ensured all versions in your pubspec.yaml files are consistent.

All your existing tests pass after the upgrades.
@Numoy Numoy requested a review from Copilot May 27, 2025 07:41
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades several package dependencies and adjusts corresponding usage in code to support the upgrades. Key changes include:

  • Version bumps for core dependencies in pubspec files.
  • Updates to survey_kit_image_answer package imports and widget code to use const constructors.
  • Minor improvements in exception handling using const for exceptions.

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pubspec.yaml Upgraded several dependency versions.
packages/survey_kit_image_answer/test/image_question_result_test.dart Added import for survey_kit_image_answer package.
packages/survey_kit_image_answer/pubspec.yaml Upgraded dependency versions; note the flutter_lints version change.
packages/survey_kit_image_answer/lib/src/view/image_answer_view.dart Added const constructors and mounted checks in asynchronous callbacks.
packages/survey_kit_image_answer/lib/src/answer_format/answer_format.dart Updated exception throwing to use const.
example/pubspec.yaml Upgraded survey_kit dependency version.
example/lib/main.dart Added import for survey_kit_image_answer package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant