Steps to reproduce:
I created a library (Publish as Library) in my "my-library-581ace" project with everything default but one simple component ("myComponent"), no firebase, no further configuration of the project.
Then, I added the library "my_library" as a dependency in "my-project-478bek".
Next, added the component "myComponent" onto one of the project pages.
It tries to compile, but after three minutes I get this error:
Compilation error
59 packages have newer versions incompatible with dependency constraints.
Try flutter pub outdated for more information.
Launching lib/main.dart on Web Server in debug mode...
Waiting for connection from debug service on Web Server...
dependencies/my_library_581ace/lib/flutter_flow/debug_util.dart:120:34: Error: Member not found: 'themeMode'.
FlutterFlowTheme.themeMode.name,
^^^^^^^^^
Waiting for connection from debug service on Web Server... 174.0s
Failed to compile application.
I tried adding a theme widget on the library hoping that it may fix it and published a new version, but there was no joy.
Anyone else had similar issues with library components like this?