'what's difference between ModalBottomSheetLayout and BottomSheetScaffold in compose?

Simple question, what's difference between ModalBottomSheetLayout and BottomSheetScaffold in compose? if they both do the same things so what's the difference ?



Solution 1:[1]

BottomSheetScaffold has no BottomAppBar property

ModalBottomSheetLayout has only content and sheetContent

which in another way to say, ModalBottomSheetLayout is able to be full screen

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mahdi