══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following _TypeError was thrown building AppMock(dirty):
type '(BuildContext, Widget) => StreamBuilder<Locale?>' is not a subtype of type '((BuildContext,
Widget?) => Widget)?'
It happens because the package has missing types in many places:
lib\flutter_i18n.dart
Hi! Thanks for your package, it's super complete and useful. I use it in my project, but I found some typing gaps:
When I use:
It throws an exception:
It happens because the package has missing types in many places:
lib\flutter_i18n.dart
I opened a PR to apply the fix for this specific location, _but I would like to discuss adding
effective_dart
to the whole package and making the entire development flow follow these rules,_ to minimize bugs like this and many others.Anyway, thanks for the hard work and the awesome package!