Material
Scaffold에서 bottomBar = { } 안에서 넣어서 사용
Material3
이렇게 NavigationBar로 바뀌어서
아래처럼 넣어줘야 한다.
Scaffold(
bottomBar = {
NavigationBar {
}
}
)
참고
- Material
androidx.compose.material | Android Developers
androidx.compose.desktop.ui.tooling.preview
developer.android.com
https://m2.material.io/components/bottom-navigation
Material Design
Build beautiful, usable products faster. Material Design is an adaptable system—backed by open-source code—that helps teams build high quality digital experiences.
m3.material.io
- Material3
androidx.compose.material3 | Android Developers
androidx.compose.desktop.ui.tooling.preview
developer.android.com
https://m3.material.io/components/navigation-bar/overview
Navigation bar – Material Design 3
Navigation bars offer a persistent and convenient way to switch between primary destinations in an app. They’re a common navigation component on handheld screens.
m3.material.io