Pullout Card List
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
data List
The List of objects to create cards of
on Click
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
content Padding
The padding around the content of the component