Oleksandr Karpovich 80b71a92ea Deprecate 3 overloads of StyleScope.borderWidth with wrong parameter names (#2297)
* Temporary deprecate 3 overloads of StyleScope.borderWidth

The reason is wrong parameter names. The behaviour is still correct.
The idea is to fix the parameter names in 2.0 (which is more appropriate for breaking changes)

* Apply better deprecation and replacement approach

* improve the deprecation message

* fix

* add tests for deprecated borderWidth

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
2022-09-08 10:58:40 +02:00
2021-04-01 23:46:02 +03:00
2021-07-27 15:04:08 +03:00
2022-02-25 20:48:49 +03:00
2022-07-23 15:14:07 +04:00
2022-04-29 16:33:55 +04:00
2022-07-05 13:25:24 +02:00
2021-07-01 09:01:27 +03:00
2022-03-14 10:37:15 +04:00
2022-05-13 11:16:54 +03:00
2021-04-01 23:46:02 +03:00
2022-08-22 15:22:32 +02:00

official project Latest release Latest build

Compose Multiplatform, by JetBrains

Compose Kotlin UI framework port for desktop platforms (macOS, Linux, Windows) and Web, components outside of the core Compose repository at https://android.googlesource.com/platform/frameworks/support.

Preview functionality (check your application UI without building/running it) for desktop platforms is available via IDEA plugin (https://plugins.jetbrains.com/plugin/16541-compose-multiplatform-ide-support).

Tutorials

Compose for Desktop

Also, see Foundation and Design docs from Google. They were originally written for Android, but most of information applies to Compose for Desktop as well.

Compose for Web

Jetpack Compose for Android

Compose Multiplatform uses Jetpack Compose developed by Google when you target Android platform. See more info about it here.

The docs published by Google are great and decribe how to develop on Compose for Android.

Note that when you use Compose Multiplatform, you setup your project differently. You can create a multiplatform project with Android support via IDEA Project Wizard, or by copying multiplatform template. In androidMain source set you can use almost all information from the docs, and in commonMain source set you can use information from Foundation and Design sections.

Examples

  • codeviewer - File Browser and Code Viewer application for Android and Desktop
  • imageviewer - Image Viewer application for Android and Desktop
  • issues - GitHub issue tracker with an adaptive UI and ktor-client
  • game - Simple game
  • game - Simple game for web target
  • compose-bird - A flappy bird clone using Compose for Web
  • notepad - Notepad, using the new experimental Composable Window API
  • todoapp - TODO items tracker with persistence and multiple screens
  • todoapp-lite - A simplified version of todoapp, fully based on Compose
  • widgets gallery - Gallery of standard widgets
  • IDEA plugin - Plugin for IDEA using Compose for Desktop

Other

Getting latest version of Compose Multiplatform

See https://github.com/JetBrains/compose-jb/releases/latest for the latest stable release or https://github.com/JetBrains/compose-jb/releases for all stable and dev releases.

Description
No description provided
Readme 157 MiB
Languages
Kotlin 97.5%
Shell 1.7%
Dockerfile 0.3%
JavaScript 0.2%
PowerShell 0.1%