Is your feature request related to a problem? Please describe.
The compose API guidelines say that:
Element functions without a measurable content size (e.g. Canvas, which draws arbitrary user content in the size available) MAY require the modifier parameter and omit the default value.
Describe the solution you'd like
That the rule doesn't fail for functions without a measurable size.
Describe alternatives you've considered
Suppressing the rule in situations where there's a function without a measurable size.
I'm not sure if the Layout function falls into this category or not. Maybe a separate issue is warranted, but as an aside, should this rule apply to non public functions?
Is your feature request related to a problem? Please describe. The compose API guidelines say that:
Describe the solution you'd like That the rule doesn't fail for functions without a measurable size.
Describe alternatives you've considered Suppressing the rule in situations where there's a function without a measurable size.
I'm not sure if the
Layout
function falls into this category or not. Maybe a separate issue is warranted, but as an aside, should this rule apply to non public functions?