You can call this code from button onClickListener etc. Pass context and animation type if you need smooth opening. Available animation types:
🧾 Environment Versions
This section lists library and plugin versions used in the current Enable3 Android SDK build.
Maintaining compatibility with these versions is crucial to ensure smooth integration, prevent dependency conflicts, and avoid build-time or runtime errors.
When integrating the SDK into your app:
Use the same Kotlin, Compose, and Android Gradle Plugin versions for full compatibility.
Other dependencies (like Retrofit, OkHttp, Hilt, Firebase, etc.) can use newer versions if they maintain backward compatibility.
If your project already uses different versions, Gradle will typically resolve to the newest one, but you should verify that your build remains stable.
⚠️ Always align your Kotlin and Compose versions — mismatched versions are the most common cause of compilation issues.
sealed class StartAnimation {
data object SlideFromLeft : StartAnimation()
data object SlideFromRight : StartAnimation()
data object SlideFromTop : StartAnimation()
data object SlideFromBottom : StartAnimation()
data object None : StartAnimation()
}