Skip to content

Add EmbedContext argument in buildWidgetSpan #2615

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 1 commit into
base: master
Choose a base branch
from

Conversation

pamafe1976
Copy link

@pamafe1976 pamafe1976 commented Jul 17, 2025

Description

adds EmbedContext as argument to buildWidgetSpan

Related Issues

Related #2614

Type of Change

  • Feature: New functionality without breaking existing features.
  • 🛠️ Bug fix: Resolves an issue without altering current behavior.
  • 🧹 Refactor: Code reorganization, no behavior change.
  • Breaking: Alters existing functionality and requires updates.
  • 🧪 Tests: New or modified tests
  • 📝 Documentation: Updates or additions to documentation.
  • 🗑️ Chore: Routine tasks, or maintenance.
  • Build configuration change: Build/configuration changes.

@@ -11,7 +11,7 @@ abstract class EmbedBuilder {
String get key;
bool get expanded => true;

WidgetSpan buildWidgetSpan(Widget widget) {
WidgetSpan buildWidgetSpan(Widget widget, EmbedContext embedContext) {
Copy link
Collaborator

@EchoEllet EchoEllet Jul 22, 2025

Choose a reason for hiding this comment

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

This is a breaking change. Clients need to update their code to build.

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.

2 participants