I published a package and get a devastating health result from the pub server with the error message:
This requires the 'non-nullable' experiment to be enabled.
Actually, that's what I did!
I did enable the nnbd experiment in my analysis_options.yaml
file and I don't get errors or hints on this topic in my project from dartanalyzer.
How can I make pana running on the pub.dev server process my analysis_options.yaml
with nnbd experiment enabled the same way it does locally?
Pana on the pub.dev server uses it's own analysis_options.yaml
file. So, it's not possible to enable the nnbd experiment in the same way as locally.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.