SelectionBox<T> constructor

const SelectionBox<T>({
  1. Key? key,
  2. double? width,
  3. String? title,
  4. String? errorMessage,
  5. required List<T> options,
  6. required dynamic onSelectionChanged(
    1. List<T>
    ),
  7. List<T>? initialSelection,
  8. bool allowMultipleSelection = true,
  9. required String valueMapper(
    1. T
    ),
  10. bool isRequired = false,
  11. bool equalWidthOptions = false,
})

Implementation

const SelectionBox({
  Key? key,
  this.width,
  this.title,
  this.errorMessage,
  required this.options,
  required this.onSelectionChanged,
  this.initialSelection,
  this.allowMultipleSelection = true,
  required this.valueMapper,
  this.isRequired = false,
  this.equalWidthOptions = false,
}) : super(key: key);