Repository navigation
Update fromSeeds( to return ColorScheme from material_ui instead of material of the SDK #24
Description
Activity
Thanks @makri-aymen for opening the issue.
Yes, I'm aware of this, it will probably until next weekend (Sunday, Aug 23), until the compatible version is released.
Meanwhile, if you really must be on version 3.47 before that you can try using the
MaterialUiCompatibilityBridgementioned in the release notes. Although I have not tested if that actually works as claimed in the release notes.I want to bring a number of other improvements and changes to the package at the same time. Since decouple bump recommends bumping major version of packages, I want to include a few other things that may be minor breaking at the same time. I don't want to do two major releases after each other. I might put out a dev/pre release with only the decouple bump first. That should make a fix available sooner.
Bridging the migration gap
To facilitate bridging the gap as the ecosystem migrates to the new standalone design libraries,
material_uiandcupertino_uiship with migration utilities. TheMaterialUiCompatibilityBridgeallows your application to migrate to the standalone packages immediately, even if some of your package dependencies are still using legacy core SDK imports.For example, you can wrap your app in the compatibility bridge:
import 'package:material_ui/material_ui.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( theme: ThemeData( colorScheme: ColorScheme.fromSeed(seedColor: const Color(0xFF6750A4)), ), builder: (BuildContext context, Widget? child) { return MaterialUiCompatibilityBridge(child: child!); }, home: const HomeScreen(), ); } }
- linked a pull request that will close this issueMigrate to Flutter 3.47 and Dart 3.13, support material_ui, release 5.0.0-dev.1 #25
on Aug 24, 2026 @makri-aymen for info version 5.0.0 of FlexSeedScheme has been released it closes this issue.
It was substantial work to get the package to this level as I included moving to also opting in on Dart 3.13, more tests, improve docs, set up the package for agentic dev with both Codex and Claude.
Internal dev skills as well as skill for consumers that can be given to agents if needed.Also fixed some small bugs.
The change log: https://pub.dev/packages/flex_seed_scheme/changelog
A lot of changes, but mostly just version hygiene https://github.com/rydmike/flex_seed_scheme/pull/25/commits
In the latest Flutter SDK 3.47.0, the material package is now decoupled from the SDK, but this package is still using material from the SDK,
which causes a type mismatch issue