TComboBox constructor

const TComboBox({
  1. Key? key,
  2. List<String> items = const [],
  3. int itemIndex = -1,
  4. String text = '',
  5. TComboBoxStyle style = TComboBoxStyle.csDropDown,
  6. int dropDownCount = 8,
  7. bool enabled = true,
  8. TextStyle? font,
  9. void onChange(
    1. String text
    )?,
  10. void onSelect(
    1. int index
    )?,
})

Implementation

const TComboBox({
  super.key,
  this.items = const [],
  this.itemIndex = -1,
  this.text = '',
  this.style = TComboBoxStyle.csDropDown,
  this.dropDownCount = 8,
  this.enabled = true,
  this.font,
  this.onChange,
  this.onSelect,
});