Form

class Form<A>(val contents: @Composable (A) -> A)(source)

Utility to facilitate the creation of re-usable data entry forms with a strongly-typed API in Jetpack Compose.

A Form is basically just a wrapper for a composable function of type @Composable (A) -> A -- which is intended to be the API for a data entry form where the data being entered corresponds to the immutable class A.

Constructors

Link copied to clipboard
constructor(contents: @Composable (A) -> A)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val contents: @Composable (A) -> A