WuiSelectField constructor

const WuiSelectField({
  1. Key? key,
  2. Widget? label,
  3. Widget? inputSuffix,
  4. Widget? inputPrefix,
  5. Widget? leading,
  6. Widget? value,
  7. Widget? optionTitle,
  8. required int itemCount,
  9. required Widget itemBuilder(
    1. BuildContext context,
    2. int index
    ),
  10. int? activeIndex,
  11. void onChange(
    1. int index
    )?,
})

Implementation

const WuiSelectField({
  Key? key,
  this.label,
  this.inputSuffix,
  this.inputPrefix,
  this.leading,
  this.value,

  this.optionTitle,
  required this.itemCount,
  required this.itemBuilder,

  this.activeIndex,
  this.onChange
}) : super(key: key);