Sergio Molchanovsky
Sergio Molchanovsky
Update: it works if using build_runner though  But when I directly call `fluttergen` it fails
@AlexV525 how can I resolve this conflict? I don't use `watcher`, probably, some plugins indirectly use it. Please don't close the issue, it still persists.
I tried to override watcher, and it didn't help.
I understand now. It was installed with `flutter pub global activate`, and the package version actually was outdated. After I deactivated it and re-installed with Homebrew, the problem was solved.
 ``` Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{ru.gosuslugi.culture/ru.notamedia.pushka.pushka.MainActivity}: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/ru.gosuslugi.culture-k5eiNIpRHIhGteidPzFN1w==/base.apk"],nativeLibraryDirectories=[/data/app/ru.gosuslugi.culture-k5eiNIpRHIhGteidPzFN1w==/lib/arm64, /system/lib64, /vendor/lib64]]] couldn't find "libflutter.so" at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2969) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3047) at android.app.ActivityThread.-wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1777) at...
> As my understanding, the guideline from the docs doesn't work for you and you are declaring fonts twice (in package and project pubspec.yaml files), right? Not exactly. The guideline...
I prepared a minimal example and commented it. Check please: https://github.com/subzero911/transitive_fonts_demo flutter doctor ``` PS C:\Users\subze> flutter doctor -v [√] Flutter (Channel stable, 3.7.0, on Microsoft Windows [Version 10.0.19045.2486], locale...
Wow, it actually works! Thank you, Mr. @huycozy, sir, I think it solved my problem. I honestly didn't know about this `package:` parameter. It isn't mentioned in TextStyle docs neither...
It exists in a "Custom Fonts" section but does not exists in a Class properties list. Okay, I also see that `package` parameter exists in a ThemeData and TextTheme too....
And I also found, that ThemeData `copyWith` does not contain the `package` parameter. So if I declared themes in a separate package, I cannot add a fonts package link to...