flutter/rfc#30
Currently, the styleguide suggest no package private, but in practice, it is not followed. Some of the examples are experimental APIs or just something that can change frequently and is not meant to be consume publicly.
Instead of forcing them public and without any guardrail for consumption and breaks people. We should think about whether we should change the guideline to be permissive in this matter while adding guardrail so consumer won't accidentally use these classes without knowing they can breaking frequently.
As part of this, we should also thinking about enum in public API as current lint and guideline suggest exhaustive switch case to handle enum, which is not the most appropriate way to consume some the enum API.
This proposal directly contradict #108632.
flutter/rfc#30
Currently, the styleguide suggest no package private, but in practice, it is not followed. Some of the examples are experimental APIs or just something that can change frequently and is not meant to be consume publicly.
Instead of forcing them public and without any guardrail for consumption and breaks people. We should think about whether we should change the guideline to be permissive in this matter while adding guardrail so consumer won't accidentally use these classes without knowing they can breaking frequently.
As part of this, we should also thinking about enum in public API as current lint and guideline suggest exhaustive switch case to handle enum, which is not the most appropriate way to consume some the enum API.
This proposal directly contradict #108632.