FeatureFormDefaults

Contains the default values used by FeatureForm.

Functions

Link copied to clipboard
fun attachmentsElementColors(labelColor: Color = Color.Unspecified, supportingTextColor: Color = Color.Unspecified, outlineColor: Color = MaterialTheme.colorScheme.outline.copy(alpha = 0.6f), containerColor: Color = Color.Unspecified, tileTextColor: Color = MaterialTheme.colorScheme.onSurface, tileBorderColor: Color = MaterialTheme.colorScheme.outline, scrollBarColor: Color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.5f)): AttachmentsElementColors

Creates an instance of AttachmentsElementColors with default values from MaterialTheme.

Link copied to clipboard
fun attachmentsElementTypography(labelStyle: TextStyle = MaterialTheme.typography.bodyLarge, supportingTextStyle: TextStyle = MaterialTheme.typography.bodyMedium, tileTextStyle: TextStyle = MaterialTheme.typography.labelSmall): AttachmentsElementTypography

Creates an instance of AttachmentsElementTypography with default values from MaterialTheme.

Link copied to clipboard
fun colorScheme(editableTextFieldColors: EditableTextFieldColors = editableTextFieldColors(), readOnlyFieldColors: ReadOnlyFieldColors = readOnlyFieldColors(), radioButtonFieldColors: RadioButtonFieldColors = radioButtonFieldColors(), groupElementColors: GroupElementColors = groupElementColors(), attachmentsElementColors: AttachmentsElementColors = attachmentsElementColors()): FeatureFormColorScheme

Creates a FeatureFormColorScheme with default values.

Link copied to clipboard
fun editableTextFieldColors(focusedTextColor: Color = MaterialTheme.colorScheme.onSurface, unfocusedTextColor: Color = MaterialTheme.colorScheme.onSurface, errorTextColor: Color = MaterialTheme.colorScheme.onSurface, focusedContainerColor: Color = Color.Transparent, unfocusedContainerColor: Color = Color.Transparent, errorContainerColor: Color = Color.Transparent, cursorColor: Color = MaterialTheme.colorScheme.primary, errorCursorColor: Color = MaterialTheme.colorScheme.error, textSelectionColors: TextSelectionColors = LocalTextSelectionColors.current, focusedIndicatorColor: Color = MaterialTheme.colorScheme.primary, unfocusedIndicatorColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, errorIndicatorColor: Color = MaterialTheme.colorScheme.error, focusedLeadingIconColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, unfocusedLeadingIconColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, errorLeadingIconColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, focusedTrailingIconColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, unfocusedTrailingIconColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, errorTrailingIconColor: Color = MaterialTheme.colorScheme.error, focusedLabelColor: Color = MaterialTheme.colorScheme.primary, unfocusedLabelColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, errorLabelColor: Color = MaterialTheme.colorScheme.error, focusedPlaceholderColor: Color = MaterialTheme.colorScheme.onSurfaceVariant.copy(alpha = 0.75f), unfocusedPlaceholderColor: Color = MaterialTheme.colorScheme.onSurfaceVariant.copy(alpha = 0.75f), errorPlaceholderColor: Color = MaterialTheme.colorScheme.onSurfaceVariant.copy(alpha = 0.75f), focusedSupportingTextColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, unfocusedSupportingTextColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, errorSupportingTextColor: Color = MaterialTheme.colorScheme.error, focusedPrefixColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, unfocusedPrefixColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, errorPrefixColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, focusedSuffixColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, unfocusedSuffixColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, errorSuffixColor: Color = MaterialTheme.colorScheme.onSurfaceVariant): EditableTextFieldColors

Creates an instance EditableTextFieldColors with default values from MaterialTheme.

Link copied to clipboard
fun editableTextFieldTypography(labelStyle: TextStyle = MaterialTheme.typography.bodySmall, textStyle: TextStyle = MaterialTheme.typography.bodyLarge, supportingTextStyle: TextStyle = MaterialTheme.typography.bodySmall): EditableTextFieldTypography

Creates an instance of EditableTextFieldTypography with default values from MaterialTheme.

Link copied to clipboard
fun groupElementColors(labelColor: Color = Color.Unspecified, supportingTextColor: Color = Color.Unspecified, outlineColor: Color = MaterialTheme.colorScheme.outline.copy(alpha = 0.6f), containerColor: Color = MaterialTheme.colorScheme.surfaceVariant, bodyColor: Color = MaterialTheme.colorScheme.background): GroupElementColors

Creates an instance of GroupElementColors with default values from MaterialTheme.

Link copied to clipboard
fun groupElementTypography(labelStyle: TextStyle = MaterialTheme.typography.bodyMedium, supportingTextStyle: TextStyle = MaterialTheme.typography.bodySmall): GroupElementTypography

Creates an instance of GroupElementTypography with default values from MaterialTheme.

Link copied to clipboard
fun radioButtonFieldColors(labelColor: Color = Color.Unspecified, textColor: Color = Color.Unspecified, supportingTextColor: Color = Color.Unspecified, outlineColor: Color = MaterialTheme.colorScheme.outline, selectedColor: Color = MaterialTheme.colorScheme.primary, unselectedColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, disabledSelectedColor: Color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.38f), disabledUnselectedColor: Color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.38f)): RadioButtonFieldColors

Creates an instance of RadioButtonFieldColors with default values from MaterialTheme.

Link copied to clipboard
fun radioButtonFieldTypography(labelStyle: TextStyle = MaterialTheme.typography.bodyMedium, optionStyle: TextStyle = MaterialTheme.typography.bodyLarge, supportingTextStyle: TextStyle = MaterialTheme.typography.bodySmall): RadioButtonFieldTypography

Creates an instance of RadioButtonFieldTypography with default values from MaterialTheme.

Link copied to clipboard
fun readOnlyFieldColors(labelColor: Color = Color.Unspecified, textColor: Color = Color.Unspecified, supportingTextColor: Color = Color.Unspecified, errorSupportingTextColor: Color = MaterialTheme.colorScheme.error): ReadOnlyFieldColors

Creates an instance of ReadOnlyFieldColors with default values from MaterialTheme.

Link copied to clipboard
fun readOnlyFieldTypography(labelStyle: TextStyle = MaterialTheme.typography.bodyMedium, textStyle: TextStyle = MaterialTheme.typography.bodyLarge, supportingTextStyle: TextStyle = MaterialTheme.typography.bodySmall): ReadOnlyFieldTypography

Creates an instance of ReadOnlyFieldTypography with default values from MaterialTheme.

Link copied to clipboard
fun typography(editableTextFieldTypography: EditableTextFieldTypography = editableTextFieldTypography(), readOnlyFieldTypography: ReadOnlyFieldTypography = readOnlyFieldTypography(), groupElementTypography: GroupElementTypography = groupElementTypography(), radioButtonFieldTypography: RadioButtonFieldTypography = radioButtonFieldTypography(), attachmentsElementTypography: AttachmentsElementTypography = attachmentsElementTypography()): FeatureFormTypography

Creates a FeatureFormTypography with default values.