Skip to content

feat: New release #314#314

Merged
githubdoandre merged 9 commits intomainfrom
develop
Dec 23, 2025
Merged

feat: New release #314#314
githubdoandre merged 9 commits intomainfrom
develop

Conversation

@githubdoandre
Copy link
Collaborator

@githubdoandre githubdoandre commented Dec 22, 2025

CodeAnt-AI Description

Fix toast overlay insertion so toasts display on Flutter 3.38+ and add devtools config

What Changed

  • Toasts now insert into the app overlay using a safer ancestor lookup so toasts reliably appear on Flutter 3.38 and newer instead of failing to show
  • Bumped Get package version to improve compatibility with newer Flutter releases
  • Added a sample devtools options file and adjusted analysis formatter settings to store dev tooling configuration and keep formatting consistent

Impact

✅ Fewer runtime overlay errors when showing toasts
✅ Toasts reliably visible on Flutter 3.38+
✅ Dev tools configuration available for local debugging

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Copilot AI review requested due to automatic review settings December 22, 2025 21:13
@codeant-ai
Copy link

codeant-ai bot commented Dec 22, 2025

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai bot added the size:S This PR changes 10-29 lines, ignoring generated files label Dec 22, 2025
@codeant-ai
Copy link

codeant-ai bot commented Dec 22, 2025

Nitpicks 🔍

🔒 No security issues identified
⚡ Recommended areas for review

  • Overlay not inserted
    The new code uses DSContextService.overlayContext?.findAncestorStateOfType<OverlayState>() and then calls overlayState?.insert(...). If overlayState is null (no ancestor overlay found) the overlay entry will not be inserted and toasts will not appear. Consider adding a robust fallback insertion or logging to ensure the toast is always shown when possible.

  • ScrollController disposal
    A new ScrollController is created when the overlay is shown. When the overlay is removed the controller is set to null but not disposed, which can leak resources. Ensure the controller is disposed before nullifying.

Copy link

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 represents a new release that updates numerous Flutter/Dart dependencies and includes a critical fix for Flutter 3.35+ compatibility. The changes primarily involve dependency version updates in the lock files, a workaround for an overlay context issue in newer Flutter versions, and minor configuration updates.

  • Updates the get package from 4.6.5 to 4.7.3 in the main dependencies
  • Implements a workaround for Flutter 3.35+ overlay context handling using findAncestorStateOfType<OverlayState>()
  • Adds DevTools configuration file and updates analysis options with trailing comma preservation

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
sample/pubspec.lock Updates all transitive dependencies to their latest versions, removes sprintf dependency, and updates minimum Flutter version to 3.35.0 and Dart to 3.9.0
pubspec.yaml Updates the get package constraint from ^4.6.5 to ^4.7.3
sample/devtools_options.yaml Adds new DevTools configuration file with extension settings
lib/src/services/ds_toast.service.dart Implements workaround for Flutter 3.35+ overlay context changes by using findAncestorStateOfType instead of direct Overlay.of()
analysis_options.yaml Adds formatter configuration to preserve trailing commas

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codeant-ai
Copy link

codeant-ai bot commented Dec 22, 2025

CodeAnt AI finished reviewing your PR.

@cyber-sast
Copy link

cyber-sast commented Dec 22, 2025

Logo
Checkmarx One – Scan Summary & Details7568c5f1-9b73-4fa6-976f-dd308bdd80bd

Great job! No new security vulnerabilities introduced in this pull request


Use @Checkmarx to reach out to us for assistance.

Just send a PR comment with @Checkmarx followed by a natural language request.

Examples: @Checkmarx how are you able to help me? @Checkmarx rescan this PR

@githubdoandre githubdoandre reopened this Dec 23, 2025
@codeant-ai
Copy link

codeant-ai bot commented Dec 23, 2025

CodeAnt AI is running Incremental review


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@ThiagoTabordaDev ThiagoTabordaDev changed the title New release feat/New release Dec 23, 2025
@ThiagoTabordaDev ThiagoTabordaDev changed the title feat/New release feat/New release #314 Dec 23, 2025
@ThiagoTabordaDev ThiagoTabordaDev changed the title feat/New release #314 feat: New release #314 Dec 23, 2025
Copilot AI review requested due to automatic review settings December 23, 2025 17:46
Copy link

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

Copilot reviewed 8 out of 9 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@githubdoandre githubdoandre merged commit 972c208 into main Dec 23, 2025
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants