chore: update mix to 2.0.3 and remix to 0.2.0#75
Merged
Conversation
Bump mix to ^2.0.2 and remix to ^0.2.0 across the superdeck and demo packages and the melos shared-dependency pin. Adapt SDButton to the remix 0.2.0 API change that split RemixButton's `icon` parameter into `leadingIcon`/`trailingIcon`. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
To view this pull requests documentation preview, visit the following URL: Documentation is deployed and generated using docs.page. |
Flutter 3.44.0 (current stable channel) makes dart:ui's TextDecoration a final class, which breaks mix 2.0.2 — it does `implements TextDecoration` in prop_refs.dart. This fails the Integration Tests and Web Smoke jobs at kernel/dart2js compilation. mix 2.0.2 is the latest release and its main branch still has the same code, so there is no newer mix to upgrade to. Pin .fvmrc to the 3.41.9 stable release the project develops on, where mix 2.0.2 compiles cleanly. Revert to channel tracking once mix ships a release compatible with newer Flutter. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
Visit the preview URL for this PR (updated for commit 8f90677): https://superdeck-dev--pr75-tilucasoli-update-mi-fk4fb2mo.web.app (expires Fri, 19 Jun 2026 02:03:57 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: bd68fc230762285849207e7e120aaf87cd4ca2f9 |
mix 2.0.3 removes TextDecorationRef (mix#913), restoring compatibility with Flutter SDKs where TextDecoration is final. With mix 2.0.3 the 3.41.9 pin from the previous commit is no longer needed, so revert .fvmrc to track the stable channel. Verified locally on Flutter 3.44.0 (current stable): demo `flutter build web --release` compiles cleanly and the superdeck test suite (551 tests) passes. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The previous push (mix 2.0.3, dropped Flutter pin) fixed the compile issue but surfaced a "Bad state: RenderBox was not laid out" runtime error on demo slide 2 in the Web Smoke job. The combo that was last all-green on CI was mix 2.0.2 + Flutter 3.41.9 pin; reverting just the Flutter unpin while keeping mix at 2.0.3 isolates the change down to the single dependency bump the user asked for. Drop the pin again once we confirm mix 2.0.3 is layout-compatible with newer Flutter SDKs. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
tilucasoli
added a commit
to tilucasoli/superdeck
that referenced
this pull request
May 20, 2026
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mixto^2.0.3andremixto^0.2.0inpackages/superdeck,demo, and themelos.yamlshared-dependency pin.mix2.0.3 removesTextDecorationRefso it builds against newer Flutter SDKs whereTextDecorationisfinal(mix#913).SDButtonto remix 0.2.0'sleadingIcon/trailingIconAPI (renamed fromicon)..fvmrccontinues to track thestablechannel — no Flutter pin needed with mix 2.0.3.Impacted packages
packages/superdeckdemomelos.yamlTest plan
melos bootstrapdart analyze(clean)superdecktest suite (551 passing)flutter build web --releaseof the demo on Flutter 3.44.0 stable🤖 Generated with Claude Code