{"repo":"skydoves/FlexibleBottomSheet","free":true,"listed":false,"github":"https://github.com/skydoves/FlexibleBottomSheet","clone":"git clone https://github.com/skydoves/FlexibleBottomSheet.git","description":"🐬 Advanced Compose Multiplatform bottom sheet for segmented sizing, non-modal type, and allows interaction behind the bottom sheet similar to Google Maps.","language":"Kotlin","stars":1121,"topics":["android","animation","bottomsheet","jetpack-compose","modal","modal-bottom-sheets","skydoves"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"FlexibleBottomSheet 🐬 FlexibleBottomSheet is an advanced Compose Multiplatform bottom sheet for segmented sizing, non-modal type, and allows interaction behind the bottom sheet similar to Google Maps. It also offers additional conveniences, including specifying sheet sizes, monitoring sheet states, and more customization. Download Gradle Add the dependency below to your module 's build.gradle file: For Kotlin Multiplatform, add the dependency below to your module 's build.gradle.kts file: Usage You can implement a flexible bottom sheet with FlexibleBottomSheet , similar to the ModalBottomSheet provided by Compose Material 3. Essentially, you can achieve the same behavior as ModalBottomSheet by not altering any properties. FlexibleBottomSheet This is a basic example of the FlexibleBottomSheet , which is modal, allowing customized sheet sizes for each expanded status, and offers three different expanded statuses (fully, intermediately, slightly): FlexibleBottomSheetState FlexibleBottomSheetState is a crucial concept that must be bound to FlexibleBottomSheet to manage its state changes. It also enables you to customize UI/UX behaviors for the bottom sheet and take manual control over expanding/hiding the bottom sheet. You can remember the FlexibleBottomSheetState by using rememberFlexibleBottomSheetState as demonstrated in the example below: You can expand or hide the bottom sheet manually by utilizing the FlexibleBottomSheetState like the code below: BottomSheet Expanded Statu","default_branch":null,"files":null,"tree":[],"storefront":"/r/skydoves","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/skydoves/FlexibleBottomSheet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}