ClassicListDialogWidget<T> constructor
ClassicListDialogWidget<T> ({
- String? titleText,
- required List<
T> dataList, - Widget? listItem,
- VoidCallback? onListItemClick,
- ListType? listType = ListType.single,
- ListTileControlAffinity? controlAffinity = ListTileControlAffinity.leading,
- Color? activeColor,
- List<
int> ? selectedIndexes, - int? selectedIndex,
- List<
Widget> ? actions, - String? negativeText,
- String? positiveText,
- VoidCallback? onNegativeClick,
- 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,
});