addBottomSheet
open override fun addBottomSheet(id: String, isCancellable: Boolean, fill: Boolean, allowsPartialExpansion: Boolean, tileSchemas: List<TileSchema>): Result<Unit>
Shows a non-modal bottom sheet built from tileSchemas, registered under id so a later dismissBottomSheet call can target it.
Parameters
id
id to register this sheet under. Adding fails if this id is already in use by a currently-showing bottom sheet.
isCancellable
whether the user can dismiss it by gesture.
fill
whether the sheet takes the full height.
allowsPartialExpansion
whether it stops at a half-expanded state before reaching full height.
tileSchemas
the sheet's content.