UiChoice constructor

const UiChoice({
  1. Key? key,
  2. required List<String> choices,
  3. required ChoiceType choiceType,
  4. dynamic onSelectedSingle(
    1. String? value
    )?,
  5. dynamic onSelectedMultiple(
    1. List<String> values
    )?,
  6. String? promptTitle,
  7. String selectAllTitle = 'Select All',
})

Implementation

const UiChoice({super.key, required this.choices, required this.choiceType, this.onSelectedSingle, this.onSelectedMultiple, this.promptTitle, this.selectAllTitle = 'Select All'});