NiceAttractionPicker constructor

const NiceAttractionPicker({
  1. Key? key,
  2. required List<NiceEventAttraction> attractions,
  3. ValueChanged<String>? onSelect,
  4. ValueChanged<String>? onDeselect,
  5. ValueChanged<String>? onVote,
  6. Set<String> selectedIds = const {},
  7. int? maxSelections,
  8. bool showVotes = true,
  9. bool readOnly = false,
  10. bool gridLayout = true,
})

Implementation

const NiceAttractionPicker({
  super.key,
  required this.attractions,
  this.onSelect,
  this.onDeselect,
  this.onVote,
  this.selectedIds = const {},
  this.maxSelections,
  this.showVotes = true,
  this.readOnly = false,
  this.gridLayout = true,
});