Open kevin-haynie opened 1 year ago
I assume you are using custom lint rules. The default ones do not cause this warning.
I didn't change any lint rules. Here's my analysis_options.yaml file. What does your analysis_options.yaml file look like?
I'm able to reproduce this:
info • Invalid use of a private type in a public API •
lib/database.g.dart:13:10 •
library_private_types_in_public_api
info • Invalid use of a private type in a public API •
lib/database.g.dart:19:10 •
library_private_types_in_public_api
With the default flutter_lints
package.
linter rule: https://dart.dev/tools/linter-rules/library_private_types_in_public_api
Can confirm, also using default lint settings and the generated code produces this warning.
I love this package but there are a couple of warnings that the linter produces which should be fixed: