
This page contains the official documentation of Droidcore.
List of components
| No | Name | Desc |
|---|---|---|
| 1 | NeoTextField | A simplified textfield that only require value. The onChanged value is handled on background automatically. |
| 2 | PasswordTextField | Inheriting from NeoTextField, this textfield includes password view and hide/unhide password. |
| 3 | ButtonCard | A Card with Button. |
| 4 | A Container View of two stacked cards. | |
| 5 | NeoAlert | Just your regular Alert, simplified. |
| 6 | CarouselCard | A simple Carousel. |

NeoTextField
val textFieldValue by remember { mutableStateOf("") }
NeoTextField(value = textFieldValue)
More Details:



PasswordTextField Inheriting from NeoTextField, this textfield includes password view and hide/unhide password.
val passwordState by remember { mutableStateOf("") }
PasswordTextField(
value = passwordState,
placeHolder = "password" //This field is optional
)

ButtonCard
ButtonCard(desc = "This is ButtonCard") { /*Enter Button action*/ }

Pocket(
title = "Pocket Title",
titleBody = "Body Title"
) {
Text("Body Content")
}
Since all fields are nullable, alternatively you can call it like this (while the usecase is limited):
