-
I have count signal and two widgets MyText, MyButton. I want MyText to only have read only access to count signal. Below is how I did it: It works just fine but I am new to dart and signals, is this proper use of FlutterReadonlySignal since dart analyzer does not like it? The imported package 'signals_flutter' isn't a dependency of the importing package. Import of a library in the 'lib/ src' directory of another package. I am lost! (why does the analyzer have to be so negative all the time, code works just fine ) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You just need to import the main package! signals/signals_flutter.dart I will also make sure FlutterReadonlySignal is properly exported, it may not be. |
Beta Was this translation helpful? Give feedback.
You just need to import the main package!
signals/signals_flutter.dart
And
signals/signsls.dart
I will also make sure FlutterReadonlySignal is properly exported, it may not be.