PulloutCardList

fun <T> PulloutCardList(dataList: List<T>, onClick: (T) -> Unit, lazy: Boolean = true, modifier: Modifier = Modifier, contentPadding: PaddingValues = PaddingValues(0.dp))

Creates a list of cards

This is used to create the buttons for com.example.econoshow.ui.MachineTypesScreen and com.example.econoshow.ui.MachinesScreen.

Parameters

dataList

The List of objects to create cards of

onClick

The method that is called when a card is clicked

lazy

Determines if the list should be a LazyColumn or a regular Column

modifier

The Modifier applied to the component

contentPadding

The padding around the content of the component