Are there plans to add params to Scaffold for pass...
# compose
z
Are there plans to add params to Scaffold for passing in side screen composables such as the navigation rail or a drawer?
l
BottomSheetScaffold
has a drawer
j
in fact, the old
Scaffold
from before
material3
had a param for adding side drawers, but that was removed as it was decided it didn’t make sense for a top level scaffold to own it, and that it could be owned by the individual implementation I’m sorry I can’t find the discussion about it from a very quick search, but I remember there were valid reasons there, and if you check out the parameters list for
androidx.compose.material.Scaffold
and
androidx.compose.material3.Scaffold
you’ll see quite a reduction in scope