How to set the Scaffold Drawer Width in JetpackCompose?

You can modify the shape (including width and height) using drawerShape parameter in Scaffold method. So for instance Scaffold( scaffoldState = scaffoldState, drawerContent = { Text(“Drawer content”) }, drawerShape = customShape(), content = {inner padding -> /* Body*/} ) Then your customShape function fun customShape() = object : Shape { override fun createOutline( size: Size, … Read more