Nutriment List Item
fun NutrimentListItem(title: CharSequence, nutriment: ProductNutriments.ProductNutriment)
Content copied to clipboard
fun NutrimentListItem( title: CharSequence?, value: Float?, servingValue: Float?, unit: MeasurementUnit, modifier: Modifier, displayVolumeHeader: Boolean = false)
Content copied to clipboard
fun NutrimentListItem( title: CharSequence?, valueStr: CharSequence?, servingValueStr: CharSequence?, unitStr: CharSequence?, modifierStr: CharSequence?, displayVolumeHeader: Boolean = false)
Content copied to clipboard
Parameters
title
name of nutriment
value Str
value of nutriment per 100g
serving Value Str
value of nutriment per serving
unit Str
unit of nutriment
modifier Str
one of the following: "<", ">", or "~"