ClassicListDialogWidget<T> constructor

ClassicListDialogWidget<T>({
  1. String? titleText,
  2. required List<T> dataList,
  3. Widget? listItem,
  4. VoidCallback? onListItemClick,
  5. ListType? listType = ListType.single,
  6. ListTileControlAffinity? controlAffinity = ListTileControlAffinity.leading,
  7. Color? activeColor,
  8. List<int>? selectedIndexes,
  9. int? selectedIndex,
  10. List<Widget>? actions,
  11. String? negativeText,
  12. String? positiveText,
  13. VoidCallback? onNegativeClick,
  14. VoidCallback? onPositiveClick,
})

Implementation

ClassicListDialogWidget({
  this.titleText,
  required this.dataList,
  this.listItem,
  this.onListItemClick,
  this.listType = ListType.single,
  this.controlAffinity = ListTileControlAffinity.leading,
  this.activeColor,
  this.selectedIndexes,
  this.selectedIndex,
  this.actions,
  this.negativeText,
  this.positiveText,
  this.onNegativeClick,
  this.onPositiveClick,
});