addModalBottomSheet
open override fun addModalBottomSheet(id: String, isCancellable: Boolean, fill: Boolean, allowsPartialExpansion: Boolean, tileSchemas: List<TileSchema>): Result<Unit>
Shows a modal bottom sheet built from tileSchemas, registered under id — unlike addBottomSheet, this dims and blocks the content behind it.
Parameters
id
id to register this sheet under. Adding fails if this id is already in use by a currently-showing modal bottom sheet.
isCancellable
whether the user can dismiss it by gesture or scrim tap.
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.