InputAgeModel

constructor(    title: String,     inputType: AgeInputType = None,     inputStyle: InputStyle = InputStyle.DataInputStyle(),     state: InputShellState = InputShellState.UNFOCUSED,     legendData: LegendData? = null,     supportingText: List<SupportingTextData>? = null,     isRequired: Boolean = false,     imeAction: ImeAction = ImeAction.Next,     onNextClicked: () -> Unit? = null,     dateOfBirthLabel: String? = null,     orLabel: String? = null,     ageLabel: String? = null,     acceptText: String? = null,     cancelText: String? = null,     onValueChanged: (AgeInputType) -> Unit,     selectableDates: SelectableDates? = null)

Parameters

title

: Label of the component.

inputType

: The type of input : None : default, DateOfBirth : In ddmmyyyy format, Age: Age value with appropriate time unit

inputStyle

: Input shell style.

legendData
supportingText

: List of SupportingTextData that manages all the messages to be shown.

isRequired

: Mark this input as marked.

imeAction

: keyboard ImeAction.

onNextClicked

: call back to on next event.

dateOfBirthLabel

: text for the the date of birth selector.

orLabel

: text for middle label.

ageLabel

: text for age selector.

acceptText

: text for date picker accept button.

cancelText

: text for date picker cancel button.

onValueChanged

: Callback to receive changes in the input.

selectableDates

: allowed dates for date picker.