JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.24k stars 1.11k forks source link

How to use `NavigationSuiteScaffold` ? #4952

Open Yue-plus opened 2 weeks ago

Yue-plus commented 2 weeks ago

How to use NavigationSuiteScaffold ? 如何使用 NavigationSuiteScaffold

I tried to add dependence by myself, but failed. 我尝试自行添加依赖,但是失败了。

image

MatkovIvan commented 2 weeks ago

material3-adaptive-navigation-suite is not ported to multiplatform yet

Junzz0 commented 1 week ago

It has been modified to work on Compose Desktop.

  1. Handle the exception caused by compose desktop not implementing currentWindowAdaptiveInfo();
  2. NavigationBarItem() NavigationRailItem() NavigationDrawerItem() exception caused by inconsistency in 1.7.0 in method signature interactionSource: MutableInteractionSource? = null
Junzz0 commented 1 week ago

I haven't found any good way to use ListDetailPaneScaffold in compose desktop so far.