[BUG]: Latest flutter_svg requires parameter theme
on SvgPicture.asset to be non-nullable
#372
Closed
2 tasks done
Labels
bug
Something isn't working
Is there an existing issue for this?
Version
5.2.0
Command type
Dart command
What happened?
Hi, for some reason I am using the latest version of
flutter_gen_runner
andflutter_svg
.However when I ran command:
It succcessfully generated the
assets.gen.dart
file containing 1 error, which is:Seems like the latest
flutter_svg
requires the parametertheme
to be non-nullable.Of course this can be easily fixed by hand by making the parameter
theme
required and non-nullable. But we're looking forward to getflutter_gen
compatible with the latest version offlutter_svg
.Relevant a pubspec.yaml.
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: