What are the functional and semantic differences between making a `Composable` lambda `nullable` and...
y
What are the functional and semantic differences between making a
Composable
lambda
nullable
and assigning
null
as the default value VS using
{}
as the default value?
r
with
{}
you cannot do this:
Copy code
if (navigationIcon == null) {
    Spacer(TitleInsetWithoutIcon)
}
and
Copy code
if (navigationIcon != {}) {
    Spacer(TitleInsetWithoutIcon)
}
would not work
y
thanks!