TListBox constructor

const TListBox({
  1. Key? key,
  2. List<String> items = const [],
  3. int itemIndex = -1,
  4. bool multiSelect = false,
  5. bool enabled = true,
  6. TextStyle? font,
  7. void onClick(
    1. int index
    )?,
  8. void onSelectionChange(
    1. Set<int> selected
    )?,
})

Implementation

const TListBox({
  super.key,
  this.items = const [],
  this.itemIndex = -1,
  this.multiSelect = false,
  this.enabled = true,
  this.font,
  this.onClick,
  this.onSelectionChange,
});