From 7d5d5ff45545dd2bfd857c4272a41ddfdc92357c Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Tue, 19 May 2026 10:50:48 -0300 Subject: [PATCH 1/4] chore: update mix to 2.0.2 and remix to 0.2.0 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 --- demo/pubspec.yaml | 4 ++-- melos.yaml | 2 +- packages/superdeck/lib/src/ui/widgets/button.dart | 2 +- packages/superdeck/pubspec.yaml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/demo/pubspec.yaml b/demo/pubspec.yaml index 6e7b5830..f940989e 100644 --- a/demo/pubspec.yaml +++ b/demo/pubspec.yaml @@ -10,12 +10,12 @@ dependencies: sdk: flutter google_fonts: ^6.3.2 mesh: ^0.4.3 - mix: ^2.0.0-rc.0 + mix: ^2.0.2 superdeck_core: ^1.0.0 superdeck: ^1.0.0 signals_flutter: ^6.0.4 naked_ui: ^0.2.0-beta.7 - remix: ^0.1.0-beta.1 + remix: ^0.2.0 dev_dependencies: flutter_test: sdk: flutter diff --git a/melos.yaml b/melos.yaml index daa12c84..dec18450 100644 --- a/melos.yaml +++ b/melos.yaml @@ -12,7 +12,7 @@ command: flutter: ">=3.38.1" dependencies: collection: ^1.18.0 - mix: ^2.0.0-rc.0 + mix: ^2.0.2 ack: 1.0.0-beta.9 # publish: # hooks: diff --git a/packages/superdeck/lib/src/ui/widgets/button.dart b/packages/superdeck/lib/src/ui/widgets/button.dart index e25db507..584f1db5 100644 --- a/packages/superdeck/lib/src/ui/widgets/button.dart +++ b/packages/superdeck/lib/src/ui/widgets/button.dart @@ -20,7 +20,7 @@ class SDButton extends StatelessWidget { onPressed: onPressed, style: _style, label: label, - icon: icon, + leadingIcon: icon, ); } diff --git a/packages/superdeck/pubspec.yaml b/packages/superdeck/pubspec.yaml index 9206ab2f..e1a6c03b 100644 --- a/packages/superdeck/pubspec.yaml +++ b/packages/superdeck/pubspec.yaml @@ -21,8 +21,8 @@ dependencies: scrollable_positioned_list: ^0.3.8 go_router: ^14.2.7 path_provider: ^2.1.4 - mix: ^2.0.0-rc.0 - remix: ^0.1.0-beta.2 + mix: ^2.0.2 + remix: ^0.2.0 flutter_markdown_plus: ^1.0.5 superdeck_core: ^1.0.0 markdown: ^7.3.0 From 11423b9a991dadb76cca1c3820f6659754a9ad83 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Tue, 19 May 2026 11:02:18 -0300 Subject: [PATCH 2/4] ci: pin Flutter to 3.41.9 for mix 2.0.2 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .fvmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.fvmrc b/.fvmrc index c300356c..d80cf577 100644 --- a/.fvmrc +++ b/.fvmrc @@ -1,3 +1,3 @@ { - "flutter": "stable" + "flutter": "3.41.9" } \ No newline at end of file From 262987914010a2322bd76b523b754093557b8053 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Tue, 19 May 2026 22:27:33 -0300 Subject: [PATCH 3/4] chore: bump mix to 2.0.3 and drop Flutter pin 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 --- .fvmrc | 4 ++-- demo/pubspec.yaml | 2 +- melos.yaml | 2 +- packages/superdeck/pubspec.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.fvmrc b/.fvmrc index d80cf577..5a4e0c20 100644 --- a/.fvmrc +++ b/.fvmrc @@ -1,3 +1,3 @@ { - "flutter": "3.41.9" -} \ No newline at end of file + "flutter": "stable" +} diff --git a/demo/pubspec.yaml b/demo/pubspec.yaml index f940989e..76725bcd 100644 --- a/demo/pubspec.yaml +++ b/demo/pubspec.yaml @@ -10,7 +10,7 @@ dependencies: sdk: flutter google_fonts: ^6.3.2 mesh: ^0.4.3 - mix: ^2.0.2 + mix: ^2.0.3 superdeck_core: ^1.0.0 superdeck: ^1.0.0 signals_flutter: ^6.0.4 diff --git a/melos.yaml b/melos.yaml index dec18450..24dd5332 100644 --- a/melos.yaml +++ b/melos.yaml @@ -12,7 +12,7 @@ command: flutter: ">=3.38.1" dependencies: collection: ^1.18.0 - mix: ^2.0.2 + mix: ^2.0.3 ack: 1.0.0-beta.9 # publish: # hooks: diff --git a/packages/superdeck/pubspec.yaml b/packages/superdeck/pubspec.yaml index e1a6c03b..1b9fd352 100644 --- a/packages/superdeck/pubspec.yaml +++ b/packages/superdeck/pubspec.yaml @@ -21,7 +21,7 @@ dependencies: scrollable_positioned_list: ^0.3.8 go_router: ^14.2.7 path_provider: ^2.1.4 - mix: ^2.0.2 + mix: ^2.0.3 remix: ^0.2.0 flutter_markdown_plus: ^1.0.5 superdeck_core: ^1.0.0 From 8f9067756a94e4cf9213abccf718481e9bfdd680 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Tue, 19 May 2026 22:59:23 -0300 Subject: [PATCH 4/4] ci: re-pin Flutter to 3.41.9 while validating mix 2.0.3 runtime 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 --- .fvmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.fvmrc b/.fvmrc index 5a4e0c20..084b2bc5 100644 --- a/.fvmrc +++ b/.fvmrc @@ -1,3 +1,3 @@ { - "flutter": "stable" + "flutter": "3.41.9" }